diff options
Diffstat (limited to 'stdlib/source/documentation/lux/control/reader.lux')
-rw-r--r-- | stdlib/source/documentation/lux/control/reader.lux | 52 |
1 files changed, 23 insertions, 29 deletions
diff --git a/stdlib/source/documentation/lux/control/reader.lux b/stdlib/source/documentation/lux/control/reader.lux index 6dec9ff36..c411c6f32 100644 --- a/stdlib/source/documentation/lux/control/reader.lux +++ b/stdlib/source/documentation/lux/control/reader.lux @@ -1,7 +1,7 @@ (.require [library [lux (.except local) - ["$" documentation (.only documentation:)] + ["$" documentation] [data [text (.only \n) ["%" \\format (.only format)]]] @@ -10,38 +10,32 @@ [\\library ["[0]" /]]) -(documentation: (/.Reader environment it) - "Computations that have access to some environmental value.") +(.def .public documentation + (.List $.Module) + ($.module /._ + "" + [($.default /.functor) + ($.default /.apply) + ($.default /.monad) -(documentation: /.read - "Get the environment.") + ($.documentation (/.Reader environment it) + "Computations that have access to some environmental value.") -(documentation: /.local - "Run computation with a locally-modified environment." - [(local change proc)]) + ($.documentation /.read + "Get the environment.") -(documentation: /.result - "Executes the reader against the given environment." - [(result env proc)]) + ($.documentation /.local + "Run computation with a locally-modified environment." + [(local change proc)]) -(documentation: /.with - "Monad transformer for Reader." - [(with monad)]) + ($.documentation /.result + "Executes the reader against the given environment." + [(result env proc)]) -(documentation: /.lifted - "Lift monadic values to the Reader wrapper.") + ($.documentation /.with + "Monad transformer for Reader." + [(with monad)]) -(.def .public documentation - (.List $.Module) - ($.module /._ - "" - [..Reader - ..read - ..local - ..result - ..with - ..lifted - ($.default /.functor) - ($.default /.apply) - ($.default /.monad)] + ($.documentation /.lifted + "Lift monadic values to the Reader wrapper.")] [])) |