aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/abstract/enum.lux
blob: b12418366ab5a251adc3cf2b6907f509b3684d59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
... This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(.require
 [library
  [lux (.except)
   ["$" documentation]]]
 [\\library
  ["[0]" /]])

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

        ($.definition (/.Enum it)
          "Enumerable types, with a notion of moving forward and backwards through a type's instances.")

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