From f522e39756ae0aef5e49585fc735c475cf3ff9e4 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 10 Dec 2022 22:00:17 +0200 Subject: Refactor builtins, add new ones --- spec.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'spec.md') 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) -- cgit v1.3