diff options
author | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
commit | eb201f6e669f802650fdf06ea1acb1ef5682297b (patch) | |
tree | f8d1fd7dc4b10d46ac0d3ee5ca018f0907060ad0 /stdlib/source/lux.lux | |
parent | 474c270f548298fc6404e9c53f038b94eba7e997 (diff) |
- Re-named "struct:" to "structure:".
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. |