doc update

This commit is contained in:
vaclavt
2022-03-01 20:28:36 +01:00
parent 0869ba3f9b
commit 830361050c

View File

@@ -79,8 +79,8 @@
|`(reduce lambda acumulator list)`|Reduces list|`>>> (reduce (lambda (x y) (+ (* x 10) y)) 0 '(1 2 3 4)) => 1234`|List manipulation| |`(reduce lambda acumulator list)`|Reduces list|`>>> (reduce (lambda (x y) (+ (* x 10) y)) 0 '(1 2 3 4)) => 1234`|List manipulation|
|`(exit code)`|Exit the program with an integer code||System| |`(exit code)`|Exit the program with an integer code||System|
|`(quit code)`|Same as (exit ..)||System| |`(quit code)`|Same as (exit ..)||System|
|`(print ..)`|Print several values and return the last one||IO| |`(print ..)`|Print one or several values separated by space and return the last one|`>>> (print "pi" "is" 3.14)\npi is 3.140000 => 3.140000`|IO|
|`(random low high)`|Get a random number between two numbers inclusively||System| |`(random low high)`|Get a random number between two numbers inclusively|`>>> (random 1 6) => 5`|System|
|`(include file)`|Read a file and execute its code||IO| |`(include file)`|Read a file and execute its code||IO|
|`(input [prompt])`|Get user input with an optional prompt||IO| |`(input [prompt])`|Get user input with an optional prompt||IO|
|`(read)`|Reads in the printed representation of a Lisp object from input-stream, builds a corresponding Lisp object, and returns the object||IO| |`(read)`|Reads in the printed representation of a Lisp object from input-stream, builds a corresponding Lisp object, and returns the object||IO|