aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormryouse2022-05-12 02:59:46 +0000
committermryouse2022-05-12 02:59:46 +0000
commit93b11f7de37266aa0b753544b6d197a498e6f8d9 (patch)
treed0f0f287c3f9802f8c516921a45b2569a4a6ce38 /README.md
parentacaf5dc93d2495b709e0d059b9037ceb143de3af (diff)
progress 5/11
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index a7e48be..ec1f0d0 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,14 @@
- `(concat [arg1 :string] [arg2 :string]) => :string`
### flow control
- - `(if [cond :bool] [t-branch :expr] [f-branch :expr]) => :any`
+ - `(if [cond :bool] [t-branch :any] [[f-branch :any]]) => :any`
+
+### type checking
+ - `(string? [arg :any]) => :bool`
+ - `(int? [arg :any]) => :bool`
+ - `(float? [arg :any]) => :bool`
+ - `(number? [arg :any]) => :bool ; returns #true for :int or :float`
+ - `(bool? [arg :any]) => :bool`
### other
- pretty much nothing else
@@ -47,7 +54,7 @@
### flow control
- [x] if
-- [ ] if with empty else
+- [x] if with empty else
- [ ] branch
### lists