Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalimehtar/cl-std
Reclassified standard library for Common Lisp
https://github.com/kalimehtar/cl-std
Last synced: about 1 month ago
JSON representation
Reclassified standard library for Common Lisp
- Host: GitHub
- URL: https://github.com/kalimehtar/cl-std
- Owner: Kalimehtar
- Created: 2012-12-05T07:47:24.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-25T15:12:56.000Z (over 11 years ago)
- Last Synced: 2024-10-16T03:02:15.269Z (3 months ago)
- Language: Common Lisp
- Size: 152 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cl-std
======Restructured standard library for Common Lisp
Guidelines:
- USE-PACKAGE only when extending package
- foo:! means "Create foo". For example, list:! == cl:list array:! == cl:make-array and so on. Also foo:! designates type.
- foo:? means "Is it foo?". For example, list:? == listp, hash-table:? == hash-table-p
- foo:$ means "destroy foo"
- Only minimum symbols in base packageUsed:
- advanced-readtable
- iterate
- message-oo (not yet, will replace implementation of std.message)Weak dependencies (not yet):
- cffi
- bordeax-threads
- closer-mopImplemented:
http://cdr.eurolisp.org/document/8/index.htmlUsage examples:
(std:defpackage #:test (:use #:base))
(std:in-package #:test)(func:! sort (list)
(when list
(list:append
(sort (list:filter list
(func:!! (x) (< x (list:first list)))))
(list:filter list (func:!! (x) (= x (list:first list))))
(sort (list:filter list
(func:!! (x)
(> x (list:first list))))))))Of course, you may mix std and cl and use cl:lambda instead of func:!!.