diff options
Diffstat (limited to 'stdlib/source/documentation/lux/control/lazy.lux')
-rw-r--r-- | stdlib/source/documentation/lux/control/lazy.lux | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/stdlib/source/documentation/lux/control/lazy.lux b/stdlib/source/documentation/lux/control/lazy.lux index 2476283ff..ddf543f5d 100644 --- a/stdlib/source/documentation/lux/control/lazy.lux +++ b/stdlib/source/documentation/lux/control/lazy.lux @@ -1,7 +1,7 @@ (.require [library [lux (.except if loop) - ["$" documentation (.only documentation:)] + ["$" documentation] [data [text (.only \n) ["%" \\format (.only format)]]] @@ -10,23 +10,21 @@ [\\library ["[0]" /]]) -(documentation: (/.Lazy it) - (format "A value specified by an expression that is calculated only at the last moment possible." - \n "Afterwards, the value is cached for future reference.")) - -(documentation: /.lazy - "Specifies a lazy value by providing the expression that computes it." - [(lazy eager_computation)]) - (.def .public documentation (.List $.Module) ($.module /._ "" - [..Lazy - ..lazy - ($.default /.value) + [($.default /.value) ($.default /.equivalence) ($.default /.functor) ($.default /.apply) - ($.default /.monad)] + ($.default /.monad) + + ($.documentation (/.Lazy it) + (format "A value specified by an expression that is calculated only at the last moment possible." + \n "Afterwards, the value is cached for future reference.")) + + ($.documentation /.lazy + "Specifies a lazy value by providing the expression that computes it." + [(lazy eager_computation)])] [])) |