The wu-sugar Reference Manual

Next: , Previous: , Up: (dir)   [Contents][Index]

The wu-sugar Reference Manual

This is the wu-sugar Reference Manual, version 1.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 06:12:12 2022 GMT+0.

Table of Contents


1 Introduction

wu-sugar is a small Common Lisp utility library to cut down on keystrokes. It might be similar in spirit to Alexandria, but is very minimalist.

The following functions are defined:


2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 wu-sugar

A minimal utility library of string, file, and date functions.

Author

Wukix Inc <engineering@wukix.com>

License

BSD

Long Description

A minimal utility library of string, file, and date functions. For example, STR provides string concatenation.

Version

1.0.2

Source

wu-sugar.asd.

Child Component

wu-sugar.lisp (file).


3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp   [Contents][Index]

3.1.1 wu-sugar/wu-sugar.asd

Source

wu-sugar.asd.

Parent Component

wu-sugar (system).

ASDF Systems

wu-sugar.


Previous: , Up: Lisp   [Contents][Index]

3.1.2 wu-sugar/wu-sugar.lisp

Source

wu-sugar.asd.

Parent Component

wu-sugar (system).

Packages

wu-sugar.

Public Interface

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 wu-sugar

Source

wu-sugar.lisp.

Use List

common-lisp.

Public Interface

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Previous: , Up: Definitions   [Contents][Index]

5.1 Public Interface


5.1.1 Ordinary functions

Function: & (&rest strings)

(concatenate ’string ...) with less typing. Note: deprecated in favor of STR.

Package

wu-sugar.

Source

wu-sugar.lisp.

Function: ends-with-p (seq subseq)
Package

wu-sugar.

Source

wu-sugar.lisp.

Function: file-to-string (filespec)
Package

wu-sugar.

Source

wu-sugar.lisp.

Function: format-universal-time-iso (stream universal-time colon atsign)

Format a universal time as an ISO 8601 / RFC 3339 date. Use with format, e.g. (format t "~/wu-sugar:format-universal-time-iso/" (get-universal-time)). If at-sign is supplied, time will be given in local time rather than UTC.

Package

wu-sugar.

Source

wu-sugar.lisp.

Function: hash (&rest rest)

Make a hash table from key/value argument pairs.

Package

wu-sugar.

Source

wu-sugar.lisp.

Function: join (separator &rest strings)

Concatenates STRINGS, joining them by SEPARATOR.

Package

wu-sugar.

Source

wu-sugar.lisp.

Function: split (string &rest delimiter-chars)

Splits STRING by one or more delimiter characters, returning a list.

Package

wu-sugar.

Source

wu-sugar.lisp.

Function: starts-with-p (seq subseq)
Package

wu-sugar.

Source

wu-sugar.lisp.

Function: str (&rest values)
Package

wu-sugar.

Source

wu-sugar.lisp.

Function: string-to-file (string filespec)
Package

wu-sugar.

Source

wu-sugar.lisp.

Function: universal-time-to-iso (universal-time &optional local-time-zone-p)

Returns an ISO 8601 / RFC 3339 formatted date/time string either in UTC (the default), or the local time zone.

Package

wu-sugar.

Source

wu-sugar.lisp.


Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts


Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables