aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux.lux')
-rw-r--r--stdlib/source/lux.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux
index 6e9604376..9dde82dc8 100644
--- a/stdlib/source/lux.lux
+++ b/stdlib/source/lux.lux
@@ -5850,10 +5850,10 @@
_
(fail "Wrong syntax for undefined")))
-(macro: #export (type-of tokens)
+(macro: #export (:of tokens)
{#.doc (doc "Generates the type corresponding to a given definition or variable."
(let [my-num (: Int 123)]
- (type-of my-num))
+ (:of my-num))
"=="
Int)}
(case tokens
@@ -5863,7 +5863,7 @@
(wrap (list (type-to-code var-type))))
_
- (fail "Wrong syntax for type-of")))
+ (fail "Wrong syntax for :of")))
(def: (parse-complex-declaration tokens)
(-> (List Code) (Meta [[Text (List Text)] (List Code)]))