aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
diff options
context:
space:
mode:
authorEduardo Julian2018-07-11 19:54:39 -0400
committerEduardo Julian2018-07-11 19:54:39 -0400
commit18e1b3355e9bc7dfe3152416fe6ad4e3fe415af9 (patch)
treeb93081e7b258557628b1bfba3280d377198f0059 /stdlib/source
parentfdfd7036806fe62ffaf054b61fbf16bbfb002b7c (diff)
- Re-named "type-of" to ":of".
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux.lux6
-rw-r--r--stdlib/source/lux/math/logic/fuzzy.lux2
2 files changed, 4 insertions, 4 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)]))
diff --git a/stdlib/source/lux/math/logic/fuzzy.lux b/stdlib/source/lux/math/logic/fuzzy.lux
index 4d0d7f860..4bb58ae1a 100644
--- a/stdlib/source/lux/math/logic/fuzzy.lux
+++ b/stdlib/source/lux/math/logic/fuzzy.lux
@@ -1,7 +1,7 @@
(.module:
[lux #*
[control
- [predicate #+ Predicate]]
+ [predicate (#+ Predicate)]]
[data
[collection
[list]