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", "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.", "description": "A Ludus interpreter in a pure JS function.",
"main": "target/js/ludus.js", "main": "target/js/ludus.js",
"directories": {}, "directories": {},

View File

@ -428,7 +428,7 @@
(not (= 1 length)) (not (= 1 length))
(throw (ex-info "Called keywords must be unary" {:ast tuple})) (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})) (throw (ex-info "Called keywords may not be partially applied" {:ast tuple}))
:else :else

View File

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