aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/meta/macro/local.lux
blob: 8c2ccb00c8ac3ee86da051d90af5816b4f1ef46f (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
(.require
 [library
  [lux (.except char)
   ["$" documentation]
   [data
    [text (.only \n)
     ["%" \\format (.only format)]]
    [collection
     ["[0]" list]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            ""
            [($.definition /.unknown_module)
             ($.definition /.cannot_shadow_definition)
             ($.definition /.unknown_definition)

             ($.definition /.push
               (format "Installs macros in the compiler-state, with the given names."
                       \n "Yields code that can be placed either as expression or as declarations."
                       \n "This code un-installs the macros."
                       \n "NOTE: Always use this code once to clean-up..")
               [(push macros)])]
            []))