From 1bddcf8fd38f1be393a0567158fd064bd3895dfd Mon Sep 17 00:00:00 2001 From: cynic Date: Thu, 20 Oct 2022 12:16:15 -0400 Subject: [PATCH] add lambda to readme --- readme.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 0d6940e..46cf016 100644 --- a/readme.txt +++ b/readme.txt @@ -8,11 +8,12 @@ standard library. syntax: a program is a series of functions executed using one environment -- that is, sharing -defined variables and functions. +some defined variables and functions. these functions are executed homoiconic objects made up of language types: - list, `()` and everything inside. items are delimited by whitespace. - string, everything between `"` double quotes - number, everything capable of being represented as a decimal float value +- lambda, an anonymous expression containing the args and procedure - identifier, everything else lists starting with defined function identifiers are executed with the rest of the list as parameters, i.e. (spit "hello~" (+ 9000 1)). runs `spit` using "hello" and (+ 9000 1).