aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-04 23:39:11 -0400
committerEduardo Julian2018-07-04 23:39:11 -0400
commit023874d8cb82f59bf73a7663d7e8e3a1062ae15f (patch)
tree21e726e4c5d50dcc550ae78fb1d53d6020ef361f /stdlib/source/lux.lux
parent376ed521cd92c2c53f2e9cc3cb16b85b67e2fdea (diff)
- Removed "alias:" due to the potential for introducing confusion due to having multiple names for the same definitions.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux.lux12
1 files changed, 0 insertions, 12 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux
index 6ec614fb5..d2d39783a 100644
--- a/stdlib/source/lux.lux
+++ b/stdlib/source/lux.lux
@@ -6330,18 +6330,6 @@
(-> Rev Frac)
(|>> to-significand (f// rev-denominator)))
-(macro: #export (alias: tokens)
- (case tokens
- (^ (list [_meta (#Symbol ["" alias])] [_meta (#Symbol aliased)]))
- (let [alias (symbol$ ["" alias])
- aliased (symbol$ aliased)]
- (return (list (` (def: #export (~ alias)
- {#.doc (doc "Alias for:" (~ aliased))}
- (~ aliased))))))
-
- _
- (fail "Wrong syntax for alias:")))
-
(def: #export (cursor-description [file line column])
(-> Cursor Text)
(let [separator ", "