diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-07 16:04:25 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-07 16:04:25 -0500 |
| commit | 37f3e91f6c95d46f161dbde05b0a005fe7e7c17a (patch) | |
| tree | c6e080ebbe7aed267b8ca0c5aec80fece51a5f65 /test/iterators.tm | |
| parent | a201939a8150bc4c2f221925797ea2751c74b77c (diff) | |
Rename "NONE" to "none"
Diffstat (limited to 'test/iterators.tm')
| -rw-r--r-- | test/iterators.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/iterators.tm b/test/iterators.tm index ebb040fd..4a85e6f9 100644 --- a/test/iterators.tm +++ b/test/iterators.tm @@ -4,7 +4,7 @@ struct Pair(x:Text, y:Text) func pairwise(strs:[Text] -> func(->Pair?)): i := 1 return func(): - if i + 1 > strs.length: return NONE:Pair + if i + 1 > strs.length: return none:Pair i += 1 return Pair(strs[i-1], strs[i])? @@ -12,7 +12,7 @@ func range(first:Int, last:Int -> func(->Int?)): i := first return func(): if i > last: - return NONE:Int + return none:Int i += 1 return (i-1)? |
