aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-10 00:29:20 -0400
committerEduardo Julian2018-07-10 00:29:20 -0400
commit0209454c0c9d02de69174aad9a934cdc0d6af804 (patch)
tree4c23f0d497de0c70666768065fe3bbcb61c6644b /stdlib/source/lux.lux
parenteb201f6e669f802650fdf06ea1acb1ef5682297b (diff)
- Re-named "struct" to "structure".
Diffstat (limited to 'stdlib/source/lux.lux')
-rw-r--r--stdlib/source/lux.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux
index 238d77bd8..0389a64f8 100644
--- a/stdlib/source/lux.lux
+++ b/stdlib/source/lux.lux
@@ -3843,7 +3843,7 @@
#None
(#Left "Not expecting any type.")))))
-(macro: #export (struct tokens)
+(macro: #export (structure tokens)
{#.doc "Not meant to be used directly. Prefer \"structure:\"."}
(do Monad<Meta>
[tokens' (monad/map Monad<Meta> macro-expand tokens)
@@ -3950,7 +3950,7 @@
(~ (meta-code-merge (` {#.struct? true})
meta))
(~ type)
- (struct (~+ definitions)))))))
+ (structure (~+ definitions)))))))
#None
(fail "Cannot infer name, so struct must have a name other than \"_\"!"))