Compare commits

...

3 Commits

Author SHA1 Message Date
a86b8f4fa4 Merge pull request 'better_panics' (#16) from better_panics into main
Reviewed-on: #16
2023-12-18 05:46:05 +00:00
Scott Richmond
3a50910e3d Fix bug where partially applied called keyword returns nil 2023-12-18 00:42:44 -05:00
Scott Richmond
0b6deefd5d Bump version 2023-12-18 00:23:06 -05:00
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@ludus/ludus-js-pure",
"version": "0.1.0-alpha.7.7",
"version": "0.1.0-alpha.7.8",
"description": "A Ludus interpreter in a pure JS function.",
"main": "target/js/ludus.js",
"directories": {},

View File

@ -428,7 +428,7 @@
(not (= 1 length))
(throw (ex-info "Called keywords must be unary" {:ast tuple}))
(partial? tuple)
(partial? members)
(throw (ex-info "Called keywords may not be partially applied" {:ast tuple}))
:else

View File

@ -61,7 +61,7 @@
(comment
(def source "
a b c
:a (_)
")