aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/abstract/enum.lux
blob: b6c0aa0a128943d4fe03f3e461c24a90ea17dfdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(.require
 [library
  [lux
   ["$" documentation]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.documentation (/.Enum it)
               "Enumerable types, with a notion of moving forward and backwards through a type's instances.")

             ($.documentation /.range
               "An inclusive [from, to] range of values."
               [(range enum from to)])]
            []))