diff options
Diffstat (limited to 'stdlib/source/lux/macro/syntax/common/reader.lux')
-rw-r--r-- | stdlib/source/lux/macro/syntax/common/reader.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/macro/syntax/common/reader.lux b/stdlib/source/lux/macro/syntax/common/reader.lux index 680162742..4d0e6b97e 100644 --- a/stdlib/source/lux/macro/syntax/common/reader.lux +++ b/stdlib/source/lux/macro/syntax/common/reader.lux @@ -104,14 +104,14 @@ (def: #export (definition compiler) {#.doc "A reader that first macro-expands and then analyses the input Code, to ensure it's a definition."} (-> Lux (Parser //.Definition)) - (do {@ p.monad} + (do {! p.monad} [definition-raw s.any me-definition-raw (|> definition-raw meta.expand-all (meta.run compiler) p.lift)] (s.local me-definition-raw - (s.form (do @ + (s.form (do ! [_ (s.text! "lux def") definition-name s.local-identifier [?definition-type definition-value] check^ |