aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/data/identity.lux
blob: c6eb4922b7d41ffe34aac95219213866936983fb (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
(.using
 [library
  [lux (.except nat int rev list type or and)
   ["$" documentation (.only documentation:)]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]]
   [macro
    ["[0]" template]]]]
 [\\library
  ["[0]" /]])

(documentation: (/.Identity it)
  "A value, as is, without any extra structure super-imposed on it.")

(.def: .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [..Identity
             ($.default /.functor)
             ($.default /.apply)
             ($.default /.monad)
             ($.default /.comonad)]
            []))