diff options
Diffstat (limited to 'src/lux/type.clj')
-rw-r--r-- | src/lux/type.clj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lux/type.clj b/src/lux/type.clj index 33c012806..cae91e588 100644 --- a/src/lux/type.clj +++ b/src/lux/type.clj @@ -47,8 +47,8 @@ (defn Named$ [name type] (&/V &/$NamedT (&/T [name type]))) -(def $Void (&/V &/$VoidT nil)) -(def Unit (&/V &/$UnitT nil)) +(def $Void (&/V &/$VoidT &/unit-tag)) +(def Unit (&/V &/$UnitT &/unit-tag)) (def Bool (Named$ (&/T ["lux" "Bool"]) (Data$ "java.lang.Boolean" &/Nil$))) (def Int (Named$ (&/T ["lux" "Int"]) (Data$ "java.lang.Long" &/Nil$))) (def Real (Named$ (&/T ["lux" "Real"]) (Data$ "java.lang.Double" &/Nil$))) |