aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorThomas Albers Raviola <thomas@thomaslabs.org>2024-05-16 18:31:28 +0200
committerThomas Albers Raviola <thomas@thomaslabs.org>2024-05-16 18:31:28 +0200
commitf19998f7fd9db2bd1ed4eb80ea1744a013b166fa (patch)
treef010bb2afd58bcddfc56b672b8f1532bfa1b446a /README.md
parentd917f41beca176b8f2b682ac3a2c25b148752b71 (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.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index b6b4f60..a8e53b5 100644
--- a/README.md
+++ b/README.md
@@ -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