diff options
author | Eduardo Julian | 2019-02-04 00:19:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-02-04 00:19:57 -0400 |
commit | 71a6928d3db3b05144c33516db307d5975a94dee (patch) | |
tree | fe087b91903c0dda41bfa84423d4958e1778f1b6 /stdlib/source/lux/platform/compiler/default/init.lux | |
parent | cf9e3fa6fef24cc0828ab882661fa96dc6f2570d (diff) |
Changed the naming style for structures.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/platform/compiler/default/init.lux | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stdlib/source/lux/platform/compiler/default/init.lux b/stdlib/source/lux/platform/compiler/default/init.lux index 012ab3ea9..b71596150 100644 --- a/stdlib/source/lux/platform/compiler/default/init.lux +++ b/stdlib/source/lux/platform/compiler/default/init.lux @@ -6,7 +6,7 @@ [data ["." product] ["." error (#+ Error)] - ["." text ("text/." Hash<Text>)] + ["." text ("text/." hash)] [collection ["." dictionary]]] ["." macro] @@ -54,7 +54,7 @@ (def: refresh (All [anchor expression statement] (statement.Operation anchor expression statement Any)) - (do phase.Monad<Operation> + (do phase.monad [[bundle state] phase.get-state #let [eval (evaluation.evaluator (get@ [#statement.synthesis #statement.state] state) (get@ [#statement.translation #statement.state] state) @@ -114,7 +114,7 @@ (def: (begin hash input) (-> Nat ///.Input <Operation>) (statement.lift-analysis - (do phase.Monad<Operation> + (do phase.monad [#let [module (get@ #///.module input)] _ (module.create hash module) _ (analysis.set-current-module module)] @@ -127,7 +127,7 @@ (def: (iteration reader) (-> Reader <Operation>) - (do phase.Monad<Operation> + (do phase.monad [code (statement.lift-analysis (..read reader)) _ (totalS.phase code)] @@ -135,7 +135,7 @@ (def: (loop module) (-> Module <Operation>) - (do phase.Monad<Operation> + (do phase.monad [reader (statement.lift-analysis (..reader module syntax.no-aliases))] (function (_ state) @@ -151,7 +151,7 @@ (def: (compile hash input) (-> Nat ///.Input <Operation>) - (do phase.Monad<Operation> + (do phase.monad [#let [module (get@ #///.module input)] _ (..begin hash input) _ (..loop module)] @@ -174,11 +174,11 @@ dependencies (default-dependencies prelude input)] {#///.dependencies dependencies #///.process (function (_ archive) - (do error.Monad<Error> + (do error.monad [[state' analysis-module] (phase.run' state (: (All [anchor expression statement] (statement.Operation anchor expression statement .Module)) - (do phase.Monad<Operation> + (do phase.monad [_ (compile hash input)] (statement.lift-analysis (extension.lift @@ -189,7 +189,7 @@ #descriptor.references dependencies #descriptor.state #.Compiled}]] (wrap (#.Right [(document.write key descriptor analysis-module) - (dictionary.new text.Hash<Text>)]))))}))) + (dictionary.new text.hash)]))))}))) (def: #export key (Key .Module) |