diff options
Diffstat (limited to 'stdlib/source/lux.lux')
-rw-r--r-- | stdlib/source/lux.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index bbf765e9a..238d77bd8 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -3844,7 +3844,7 @@ (#Left "Not expecting any type."))))) (macro: #export (struct tokens) - {#.doc "Not meant to be used directly. Prefer \"struct:\"."} + {#.doc "Not meant to be used directly. Prefer \"structure:\"."} (do Monad<Meta> [tokens' (monad/map Monad<Meta> macro-expand tokens) struct-type get-expected-type @@ -3880,9 +3880,9 @@ (-> (List Text) Text) (|> parts list/reverse (list/fold text/compose ""))) -(macro: #export (struct: tokens) +(macro: #export (structure: tokens) {#.doc "## Definition of structures ala ML. - (struct: #export Ord<Int> (Ord Int) + (structure: #export Ord<Int> (Ord Int) (def: eq Equivalence<Int>) (def: (< test subject) (lux.< test subject)) @@ -3956,7 +3956,7 @@ (fail "Cannot infer name, so struct must have a name other than \"_\"!")) #None - (fail "Wrong syntax for struct:")))) + (fail "Wrong syntax for structure:")))) (def: #export (id x) {#.doc "Identity function. |