summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/core.fnl6
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/core.fnl b/macros/core.fnl
index 7c8af40..deb363a 100644
--- a/macros/core.fnl
+++ b/macros/core.fnl
@@ -3,10 +3,8 @@
(local insert table.insert)
(fn check-bindings [bindings]
- (assert-compile (sequence? bindings) "expected binding table
-
-* Try placing a table here in square brackets containing identifiers to bind." bindings)
- (assert-compile (= (length bindings) 2) "expected exactly two forms in binding vector." bindings))
+ (and (assert-compile (sequence? bindings) "expected binding table" [])
+ (assert-compile (= (length bindings) 2) "expected exactly two forms in binding vector." bindings)))
(fn* if-let
([bindings then]