From 6408969cd31dac7631e383c4a799034d1d23566a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Rowicki?= <35342116+radrow@users.noreply.github.com> Date: Fri, 30 Aug 2019 14:06:46 +0200 Subject: [PATCH] Remove from_to_ --- priv/stdlib/List.aes | 2 -- 1 file changed, 2 deletions(-) diff --git a/priv/stdlib/List.aes b/priv/stdlib/List.aes index 57d2250..97cf126 100644 --- a/priv/stdlib/List.aes +++ b/priv/stdlib/List.aes @@ -56,8 +56,6 @@ namespace List = function from_to(a : int, b : int) : list(int) = [a..b] - private function from_to_(a, b, acc) = - if (a > b) acc else from_to_(a, b - 1, b :: acc) function from_to_step(a : int, b : int, s : int) : list(int) = from_to_step_(a, b, s, []) private function from_to_step_(a, b, s, acc) =