diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-17 11:20:53 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-17 15:57:37 -0700 |
commit | 01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2 (patch) | |
tree | 696fce7bb207e77952d10b7358f4ce00faed3874 /continuation5.mu | |
parent | dd66068298b0a11f2a1f195376cba98e0c8570b5 (diff) | |
download | mu-01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2.tar.gz |
4262 - literal 'null'
Diffstat (limited to 'continuation5.mu')
-rw-r--r-- | continuation5.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/continuation5.mu b/continuation5.mu index 4ae05614..295cb9c9 100644 --- a/continuation5.mu +++ b/continuation5.mu @@ -16,7 +16,7 @@ def main [ local-scope - l:&:list:num <- copy 0 + l:&:list:num <- copy null l <- push 3, l l <- push 2, l l <- push 1, l @@ -36,7 +36,7 @@ def create-yielder l:&:list:num -> n:num, done?:bool [ load-inputs a:num <- copy 0 { - done? <- equal l, 0 + done? <- equal l, null break-if done? n <- first l l <- rest l |