diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/control/function.lux | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/source/lux/control/function.lux b/stdlib/source/lux/control/function.lux index ce999eb39..d9b8e36c5 100644 --- a/stdlib/source/lux/control/function.lux +++ b/stdlib/source/lux/control/function.lux @@ -5,7 +5,7 @@ (def: #export identity {#.doc (doc "Identity function." - "Does nothing to it's argument and just returns it." + "Does nothing to its argument and just returns it." (let [value "foo"] (is? (identity value) value)))} @@ -40,6 +40,8 @@ (-> i (-> i o) o)) (function input)) -(structure: #export monoid (All [a] (Monoid (-> a a))) +(structure: #export monoid + (All [a] (Monoid (-> a a))) + (def: identity ..identity) (def: compose ..compose)) |