Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwchentw/cl-yautils
Yet Another Utilities for Common Lisp
https://github.com/cwchentw/cl-yautils
common-lisp lisp lisp-library utility-library
Last synced: 14 days ago
JSON representation
Yet Another Utilities for Common Lisp
- Host: GitHub
- URL: https://github.com/cwchentw/cl-yautils
- Owner: cwchentw
- License: mit
- Created: 2020-04-05T04:56:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-07T22:37:09.000Z (almost 3 years ago)
- Last Synced: 2024-11-17T04:36:06.090Z (3 months ago)
- Topics: common-lisp, lisp, lisp-library, utility-library
- Language: Common Lisp
- Homepage:
- Size: 159 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cl-yautils
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Yet another utilities for Common Lisp.
## System Requirements
One of the following Common Lisp implementations:
* [SBCL (Steel Bank Common Lisp)](http://www.sbcl.org/)
* [Clozure Common Lisp](https://ccl.clozure.com/)
* [CLISP](https://clisp.sourceforge.io/)
* [Embeddable Common Lisp](https://ecl.common-lisp.dev/)
* [ABCL (Armed Bear Common Lisp)](https://armedbear.common-lisp.dev/)Among those implementations, SBCL is recommended for Lisp newcomers.
## Install
```shell
$ 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](/examples/nullable-type.lisp))
### Variable
* `default`: set a default value for a variable with `nil` ([ex](/examples/default.lisp))
* `defined`: check whether a variable is defined ([ex](/examples/defined.lisp))### Math
* `average`: get the average of numbers ([ex](/examples/average.lisp))
* `random-integer`: create a random integer ([ex](/examples/random-integer.lisp))### List
* `proper-list`: convert a list with dotted pair(s) to a proper one ([ex](/examples/proper-list.lisp))
* `flatten`: flatten a list with or without dotted pair(s) ([ex](/examples/flatten.lisp))### Console
* `puts`: print an object with a trailing newline to standard output ([ex](/examples/helloworld-cjk.lisp))
* `puterr`: print an object with a trailing newline to standard error ([ex](/examples/helloworld-cjk.lisp))## Copyright
Copyright (c) 2020-2022 Michelle Chen. Licensed under MIT