better_panics #16

Merged
scott merged 2 commits from better_panics into main 2023-12-18 05:46:06 +00: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 (_)
")