diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/documentation/lux/abstract/comonad.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/documentation/lux/abstract/comonad.lux b/stdlib/source/documentation/lux/abstract/comonad.lux index d17c0aced..6649be330 100644 --- a/stdlib/source/documentation/lux/abstract/comonad.lux +++ b/stdlib/source/documentation/lux/abstract/comonad.lux @@ -1,27 +1,27 @@ (.require [library [lux - ["$" documentation (.only documentation)] + ["$" documentation] [data [text (.only \n) ["%" \\format (.only format)]]]]] [\\library ["[0]" /]] ["[0]" / - ["[1][0]" cofree]]) + ["[1][0]" free]]) (.def .public documentation (.List $.Module) ($.module /._ "" - [(documentation (/.CoMonad !) + [($.documentation (/.CoMonad !) (format "Co-monads are the opposite/complement to monads." \n "Co-monadic structures are often infinite in size and built upon lazily-evaluated functions.")) - (documentation /.be + ($.documentation /.be "A co-monadic parallel to the 'do' macro." [(let [square (function (_ n) (* n n))] (be comonad [inputs (iterate ++ +2)] (square (out inputs))))])] - [/cofree.documentation])) + [/free.documentation])) |