aboutsummaryrefslogtreecommitdiff
path: root/lib/core/collections.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/collections.nom')
-rw-r--r--lib/core/collections.nom3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/collections.nom b/lib/core/collections.nom
index e9da70c..1b7dadb 100644
--- a/lib/core/collections.nom
+++ b/lib/core/collections.nom
@@ -1,5 +1,4 @@
#!/usr/bin/env nomsu -V7.0.0
-
###
This file contains code that supports manipulating and using collections like lists
and dictionaries.
@@ -163,6 +162,7 @@ external:
unless $seen.$:
$unique, add $
$seen.$ = (yes)
+
return $unique
### Ranges:
@@ -196,6 +196,7 @@ $range_mt = {
..else:
if ($i < $self.last):
return (nil)
+
return $i
return $range_mt.$key