From 7f47224bd983e031d550d9bb3410e68f30688f3d Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Tue, 29 Dec 2020 22:06:29 +0900 Subject: [PATCH] remove superfluous range module --- modules/range.krk | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 modules/range.krk diff --git a/modules/range.krk b/modules/range.krk deleted file mode 100644 index 7bfd8ae..0000000 --- a/modules/range.krk +++ /dev/null @@ -1,19 +0,0 @@ -class Range: - def __init__(self, min, max): - self.min = min - self.max = max - def __iter__(self): - let me = self - def makeIter(ind): - let l = me - let i = ind - def iter(): - if i >= l.max: - return iter - let out = i - i = i + 1 - return out - return iter - return makeIter(self.min) - -return Range