From eb201f6e669f802650fdf06ea1acb1ef5682297b Mon Sep 17 00:00:00 2001
From: Eduardo Julian
Date: Tue, 10 Jul 2018 00:24:01 -0400
Subject: - Re-named "struct:" to "structure:".
---
stdlib/source/lux.lux | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'stdlib/source/lux.lux')
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
[tokens' (monad/map Monad 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 (Ord Int)
+ (structure: #export Ord (Ord Int)
(def: eq Equivalence)
(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.
--
cgit v1.2.3