aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/function.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/function.lux')
-rw-r--r--stdlib/source/lux/function.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/function.lux b/stdlib/source/lux/function.lux
index a6df64891..2fe4d6c1f 100644
--- a/stdlib/source/lux/function.lux
+++ b/stdlib/source/lux/function.lux
@@ -1,24 +1,24 @@
-(;module:
+(.module:
lux
(lux (control [monoid #+ Monoid])))
(def: #export (compose f g)
- {#;doc "Function composition."}
+ {#.doc "Function composition."}
(All [a b c]
(-> (-> b c) (-> a b) (-> a c)))
(|>> g f))
(def: #export (const c)
- {#;doc "Create constant functions."}
+ {#.doc "Create constant functions."}
(All [a b] (-> a (-> b a)))
(function [_] c))
(def: #export (flip f)
- {#;doc "Flips the order of the arguments of a function."}
+ {#.doc "Flips the order of the arguments of a function."}
(All [a b c]
(-> (-> a b c) (-> b a c)))
(function [x y] (f y x)))
(struct: #export Monoid<Function> (Monoid (All [a] (-> a a)))
(def: identity id)
- (def: compose ;;compose))
+ (def: compose ..compose))