diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/macro/syntax/declaration.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/macro/syntax/declaration.lux b/stdlib/source/library/lux/macro/syntax/declaration.lux index 429368764..158bb618f 100644 --- a/stdlib/source/library/lux/macro/syntax/declaration.lux +++ b/stdlib/source/library/lux/macro/syntax/declaration.lux @@ -14,19 +14,19 @@ [macro ["." code]]]]) -(type: #export Declaration +(type: .public Declaration {#.doc (doc "A declaration for either a constant or a function.")} {#name Text #arguments (List Text)}) -(def: #export equivalence +(def: .public equivalence (Equivalence Declaration) ($_ product.equivalence text.equivalence (list.equivalence text.equivalence) )) -(def: #export parser +(def: .public parser {#.doc (doc "A parser for declaration syntax." "Such as:" quux @@ -37,7 +37,7 @@ (<code>.form (<>.and <code>.local_identifier (<>.some <code>.local_identifier))))) -(def: #export (format value) +(def: .public (format value) (-> Declaration Code) (let [g!name (code.local_identifier (get@ #name value))] (case (get@ #arguments value) |