Personal Common Lisp utilities
Common Lisp Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
skeleton
test
.gitignore
LICENSE
Makefile
README.org
all.lisp
clutils.asd
clutils.info
functional.lisp
lists.lisp
macros.lisp
math.lisp
packages.lisp
project.lisp
sequences.lisp
strings.lisp

README.org

clutils

My personal Common Lisp utilities.

Features

Strings

  • string-trim-whitespace: trims leading and trailing whitespace
  • string-append
  • string-join
  • string-split
  • string-starts-with-p: checks for prefix
  • string-ends-with-p: checks for suffix
  • file-to-strings: reads in a file and adds each line to the resulting list
  • file-to-string
  • string-to-file: supersedes the file at given filespec

Functional

  • compose
  • partial
  • flip: reverses the arguments list of a function
  • partial-right: partially applies a function from the right

Math

  • average
  • median
  • generate-random-numbers: generates a list of random numbers up to bound
  • primep: checks for prime numbers (Fermat primality)

License

See LICENSE.