aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/control/lazy.lux
blob: 5e8d22e275d7c980b6e0d4b571a2239b5fc6c772 (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
29
(.require
 [library
  [lux (.except)
   ["$" documentation]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Documentation)
  (list ($.module /._
                  "")

        ($.definition /.value)
        ($.definition /.equivalence)
        ($.definition /.functor)
        ($.definition /.apply)
        ($.definition /.monad)

        ($.definition (/.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."))

        ($.definition /.lazy
          "Specifies a lazy value by providing the expression that computes it."
          [(lazy eager_computation)])
        ))