diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-05-16 18:31:28 +0200 |
---|---|---|
committer | Thomas Albers Raviola <thomas@thomaslabs.org> | 2024-05-16 18:31:28 +0200 |
commit | f19998f7fd9db2bd1ed4eb80ea1744a013b166fa (patch) | |
tree | f010bb2afd58bcddfc56b672b8f1532bfa1b446a /README.md | |
parent | d917f41beca176b8f2b682ac3a2c25b148752b71 (diff) |
Define types for primitives instead of using lists
* src/parser.lisp: Add alias for shorting chain calls. First symbol may be
outside chain.
* src/types.lisp: Remove specialp from closure class
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -51,6 +51,11 @@ Text evaluates to itself. Atoms consists of symbols or numbers. Symbols evaluate to the bound value in the environment. Numbers evaluate to themselves. +Defining a function with a group predicate causes the chain to consume all its +siblings up to the first primitive for which the predicate is true. When +evaluating the body of such a chain, an additional variable @siblings is defined +in the scope and expands to the content of all consumed siblings. + # How to contribute If you would like to contibute to the development of chains please send a mail |