aboutsummaryrefslogtreecommitdiffstats
path: root/spec.md
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-10 22:00:17 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-11 01:37:50 +0200
commitf522e39756ae0aef5e49585fc735c475cf3ff9e4 (patch)
tree90a8fe239b064c5b1b20fe2ad2fbe7f7e792bff9 /spec.md
parent37e251578181213e49ba08d3de39f0b8b4f77427 (diff)
Refactor builtins, add new ones
Diffstat (limited to 'spec.md')
-rw-r--r--spec.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/spec.md b/spec.md
index 934e119..505524d 100644
--- a/spec.md
+++ b/spec.md
@@ -7,7 +7,8 @@
## Value types
- Number -3.14
+ Integer 3
+ Float -3.14
Symbol PI
Tag :tag
Boolean true
@@ -76,7 +77,7 @@ Drops the first element of a vector.
(tail vec)
-`prepend`
+`cons`
Pushes the first argument to the front of the second argument (vector).
- (prepend x xs)
+ (cons x xs)