Merge pull request 'better_panics' (#16) from better_panics into main

Reviewed-on: #16
This commit is contained in:
Scott Richmond 2023-12-18 05:46:05 +00:00
commit a86b8f4fa4
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 (_)
")