From f19998f7fd9db2bd1ed4eb80ea1744a013b166fa Mon Sep 17 00:00:00 2001 From: Thomas Albers Raviola Date: Thu, 16 May 2024 18:31:28 +0200 Subject: 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 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3