diff options
author | Eduardo Julian | 2018-05-06 00:45:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-05-06 00:45:45 -0400 |
commit | 8787650c4b1641832db9df2c35bc3046e886220e (patch) | |
tree | 8c14799379226aa8452d39d91e9a56896db9187f /new-luxc/source/luxc/lang/extension.lux | |
parent | 3c93d7a3aabaa49c67f9a498bc0d70f0af7f09d0 (diff) |
- Updated new-luxc to the latest stdlib changes.
Diffstat (limited to 'new-luxc/source/luxc/lang/extension.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/extension.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/new-luxc/source/luxc/lang/extension.lux b/new-luxc/source/luxc/lang/extension.lux index e8121b9b6..ef7a4f864 100644 --- a/new-luxc/source/luxc/lang/extension.lux +++ b/new-luxc/source/luxc/lang/extension.lux @@ -4,7 +4,7 @@ ["ex" exception #+ exception:]) (data ["e" error] [text] - (coll [dict #+ Dict])) + (coll (dictionary ["dict" unordered #+ Dict]))) [macro]) [//] (// ["la" analysis] @@ -39,7 +39,7 @@ (-> (List Code) (Meta Code))) (type: #export Statement - (-> (List Code) (Meta Unit))) + (-> (List Code) (Meta Top))) (type: #export Extensions {#analysis (Dict Text Analysis) @@ -61,9 +61,9 @@ (|> compiler (get@ #.extensions) (:! Extensions))]))) (def: (set extensions) - (-> Extensions (Meta Unit)) + (-> Extensions (Meta Top)) (function (_ compiler) - (#e.Success [(set@ #.extensions (:! Void extensions) compiler) + (#e.Success [(set@ #.extensions (:! Bottom extensions) compiler) []]))) (do-template [<name> <type> <category> <exception>] @@ -99,7 +99,7 @@ (do-template [<name> <type> <category> <exception>] [(def: #export (<name> name extension) - (-> Text <type> (Meta Unit)) + (-> Text <type> (Meta Top)) (do macro.Monad<Meta> [extensions ..get _ (//.assert <exception> name |