aboutsummaryrefslogtreecommitdiff
path: root/source/lux/meta/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-08-04 20:38:02 -0400
committerEduardo Julian2015-08-04 20:38:02 -0400
commit691b3e3174e01ed7d859f58442371328aefcfad4 (patch)
treeeb13bf0e6801ebe1a5771f6750d459d3cbd67ad6 /source/lux/meta/lux.lux
parenta8ac885a008f519816d747eca0f894ec9794e938 (diff)
- Struct definition no longer required prefixed members (now, it actually prohibits them).
Diffstat (limited to '')
-rw-r--r--source/lux/meta/lux.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/lux/meta/lux.lux b/source/lux/meta/lux.lux
index bc859b823..26513ed81 100644
--- a/source/lux/meta/lux.lux
+++ b/source/lux/meta/lux.lux
@@ -29,7 +29,7 @@
## [Structures]
(defstruct #export Lux/Functor (F;Functor Lux)
- (def (F;map f fa)
+ (def (map f fa)
(lambda [state]
(case (fa state)
(#;Left msg)
@@ -39,11 +39,11 @@
(#;Right [state' (f a)])))))
(defstruct #export Lux/Monad (M;Monad Lux)
- (def M;_functor Lux/Functor)
- (def (M;wrap x)
+ (def _functor Lux/Functor)
+ (def (wrap x)
(lambda [state]
(#;Right [state x])))
- (def (M;join mma)
+ (def (join mma)
(lambda [state]
(case (mma state)
(#;Left msg)