diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/control/codec.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/control/codec.lux b/stdlib/source/lux/control/codec.lux index 6af4fda10..b1b6df5d9 100644 --- a/stdlib/source/lux/control/codec.lux +++ b/stdlib/source/lux/control/codec.lux @@ -1,19 +1,19 @@ -(;module: +(.module: lux (lux (control monad) (data ["e" error]))) ## [Signatures] (sig: #export (Codec m a) - {#;doc "A way to move back-and-forth between a type and an alternative representation for it."} + {#.doc "A way to move back-and-forth between a type and an alternative representation for it."} (: (-> a m) encode) - (: (-> m (e;Error a)) + (: (-> m (e.Error a)) decode)) ## [Values] (struct: #export (compose Codec<c,b> Codec<b,a>) - {#;doc "Codec composition."} + {#.doc "Codec composition."} (All [a b c] (-> (Codec c b) (Codec b a) (Codec c a))) @@ -22,7 +22,7 @@ (:: Codec<c,b> encode))) (def: (decode cy) - (do e;Monad<Error> + (do e.Monad<Error> [by (:: Codec<c,b> decode cy)] (:: Codec<b,a> decode by))) ) |