implemented load-with.... still need docstring and to fix some write errors

This commit is contained in:
Ava Apples Affine 2023-03-28 20:47:55 -07:00
parent ab14ba4b5e
commit e8cf59b7a7
Signed by: affine
GPG key ID: 3A4645B8CF806069
2 changed files with 156 additions and 16 deletions

View file

@ -103,9 +103,10 @@ Like the *if form*, if the conditional returns a non-boolean value the *while lo
**** Let
*Let* is one of the most powerful forms Relish offers. The first body in a call to let is a list of lists.
Specifically, a list of variable declarations that lookf like this: ~(name value)~.
Specifically, a list of variable declarations that look like this: ~(name value)~.
Each successive variable definition can build off of the last one, like this: ~((step1 "hello") (step2 (concat step1 " ")) (step3 (concat step2 "world")))~.
In said example, the resulting value of step3 is "hello world". After the variable declaration list, the next for is one or more unevaluated trees of code to be evaluated.
In said example, the resulting value of step3 is "hello world". After the variable declaration list, the next form is one or more unevaluated trees of code to be evaluated.
Here is an example of a complete let statement using hypothetical data and methods:
#+BEGIN_SRC lisp