From 023874d8cb82f59bf73a7663d7e8e3a1062ae15f Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Wed, 4 Jul 2018 23:39:11 -0400 Subject: - Removed "alias:" due to the potential for introducing confusion due to having multiple names for the same definitions. --- stdlib/source/lux.lux | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'stdlib/source/lux.lux') 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 ", " -- cgit v1.2.3