diff options
author | Eduardo Julian | 2015-08-29 23:17:27 -0400 |
---|---|---|
committer | Eduardo Julian | 2015-08-29 23:17:27 -0400 |
commit | 196f56b83ed357169efb75b864f81f26c10641f1 (patch) | |
tree | 33a17c9f3e2058e14b08f10ab700990447b510ac /source/lux/data/io.lux | |
parent | 253d5a4a3f7ef5d42c467733e394a28d18a4d9b3 (diff) |
- Remove the (unnec) "All'" and "->'" macros.
- Improved the "struct" macro so that (once again) it doesn't ask for the prefixes of the members.
- Added tests for the lux.reader namespace.
Diffstat (limited to '')
-rw-r--r-- | source/lux/data/io.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/lux/data/io.lux b/source/lux/data/io.lux index 144410f5c..032381404 100644 --- a/source/lux/data/io.lux +++ b/source/lux/data/io.lux @@ -27,16 +27,16 @@ ## [Structures] (defstruct #export IO/Functor (F;Functor IO) - (def (F;map f ma) + (def (map f ma) (io (f (ma []))))) (defstruct #export IO/Monad (M;Monad IO) - (def M;_functor IO/Functor) + (def _functor IO/Functor) - (def (M;wrap x) + (def (wrap x) (io x)) - (def (M;join mma) + (def (join mma) (mma []))) ## [Functions] |