Skip to content

Yet Another Utilities for Common Lisp

License

Notifications You must be signed in to change notification settings

cwchentw/cl-yautils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cl-yautils

License: MIT

Yet another utilities for Common Lisp.

System Requirements

One of the following Common Lisp implementations:

Among those implementations, SBCL is recommended for Lisp newcomers.

Install

$ cd path/to/quicklisp/local-projects
$ git clone https://github.com/cwchentw/cl-yautils.git

Usage

Data Type

  • nullable: declare a nullable data type (ex)

Variable

  • default: set a default value for a variable with nil (ex)
  • defined: check whether a variable is defined (ex)

Math

  • average: get the average of numbers (ex)
  • random-integer: create a random integer (ex)

List

  • proper-list: convert a list with dotted pair(s) to a proper one (ex)
  • flatten: flatten a list with or without dotted pair(s) (ex)

Console

  • puts: print an object with a trailing newline to standard output (ex)
  • puterr: print an object with a trailing newline to standard error (ex)

Copyright

Copyright (c) 2020-2022 Michelle Chen. Licensed under MIT