Skip to content
/ wu-sugar Public

Defines "str" for string concatenation and provides a few other useful functions

License

Notifications You must be signed in to change notification settings

Wukix/wu-sugar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • hash: creates a hash table, analogous to vector or list
  • str: like (concatenate 'string ...), but accepts non-string arguments
  • join: concatenates strings, joining them by a separator character
  • split: splits a string (e.g. a comma-separated string)
  • starts-with-p: tests if a sequence begins with a particular subsequence
  • ends-with-p: tests if a sequence ends with a particular subsequence
  • file-to-string: reads a file's contents into a string
  • string-to-file: writes a string's contents into a file
  • format-universal-time-iso: a format function to print iso/rfc dates
  • universal-time-to-iso: returns an iso/rfc formatted date string

About

Defines "str" for string concatenation and provides a few other useful functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published