aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/tool/compiler/phase.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/tool/compiler/phase.lux')
-rw-r--r--stdlib/source/library/lux/tool/compiler/phase.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/tool/compiler/phase.lux b/stdlib/source/library/lux/tool/compiler/phase.lux
index d1cecbe50..92680654d 100644
--- a/stdlib/source/library/lux/tool/compiler/phase.lux
+++ b/stdlib/source/library/lux/tool/compiler/phase.lux
@@ -70,13 +70,13 @@
(def: .public failure
(-> Text Operation)
- (|>> #try.Failure (state.lift try.monad)))
+ (|>> #try.Failure (state.lifted try.monad)))
(def: .public (except exception parameters)
(All [e] (-> (Exception e) e Operation))
(..failure (ex.error exception parameters)))
-(def: .public (lift error)
+(def: .public (lifted error)
(All [s a] (-> (Try a) (Operation s a)))
(function (_ state)
(try\map (|>> [state]) error)))
@@ -93,7 +93,7 @@
(function (_ archive input state)
(#try.Success [state input])))
-(def: .public (compose pre post)
+(def: .public (composite pre post)
(All [s0 s1 i t o]
(-> (Phase s0 i t)
(Phase s1 t o)