aboutsummaryrefslogtreecommitdiff
path: root/source/lux
diff options
context:
space:
mode:
Diffstat (limited to 'source/lux')
-rw-r--r--source/lux/data/list.lux4
-rw-r--r--source/lux/meta/lux.lux2
-rw-r--r--source/lux/meta/syntax.lux5
3 files changed, 5 insertions, 6 deletions
diff --git a/source/lux/data/list.lux b/source/lux/data/list.lux
index 0da0b3ecb..a6ca4e0f7 100644
--- a/source/lux/data/list.lux
+++ b/source/lux/data/list.lux
@@ -233,7 +233,7 @@
(defmacro #export (@list xs state)
(#;Right state (#;Cons (foldL (: (-> AST AST AST)
(lambda [tail head] (` (#;Cons (~ head) (~ tail)))))
- (: AST (` #;Nil))
+ (` #;Nil)
(reverse xs))
#;Nil)))
@@ -301,7 +301,7 @@
## [(~@ tokens)]))]
## (#;Right state (@list code))))
## (#;Left "Can't zip-with no lists."))
-
+
## _
## (let [g!temp [["" -1 -1] (#SymbolS "" "\ttemp\t")]]
## (#;Right state (@list (` (let [(~ g!temp) (~ _f)]
diff --git a/source/lux/meta/lux.lux b/source/lux/meta/lux.lux
index c71fd70b0..edf3a8667 100644
--- a/source/lux/meta/lux.lux
+++ b/source/lux/meta/lux.lux
@@ -110,7 +110,7 @@
["" name]
(do Lux/Monad
[module-name get-module-name]
- (wrap (: Ident [module-name name])))
+ (wrap [module-name name]))
_
(:: Lux/Monad (M;wrap ident))))
diff --git a/source/lux/meta/syntax.lux b/source/lux/meta/syntax.lux
index 01acefd36..ee5a37d53 100644
--- a/source/lux/meta/syntax.lux
+++ b/source/lux/meta/syntax.lux
@@ -248,9 +248,8 @@
(l;fail (~ error-msg)))))))
body
(: (List (, AST AST)) (@list& [(symbol$ ["" ""]) (` end^)] (reverse names+parsers))))
- macro-def (: AST
- (` (defmacro ((~ (symbol$ ["" name])) (~ g!tokens))
- (~ body'))))]]
+ macro-def (` (defmacro ((~ (symbol$ ["" name])) (~ g!tokens))
+ (~ body')))]]
(wrap (@list& macro-def
(if exported?
(@list (` (;_lux_export (~ (symbol$ ["" name])))))