aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/control/lazy.lux
blob: df45b6cd5d4fbe8eeaac21f31684517c5c474e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(.require
 [library
  [lux (.except if loop)
   ["$" documentation]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.default /.value)
             ($.default /.equivalence)
             ($.default /.functor)
             ($.default /.apply)
             ($.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)])]
            []))