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 /continuation2.mu | |
parent | dd66068298b0a11f2a1f195376cba98e0c8570b5 (diff) | |
download | mu-01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2.tar.gz |
4262 - literal 'null'
Diffstat (limited to 'continuation2.mu')
-rw-r--r-- | continuation2.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/continuation2.mu b/continuation2.mu index b71e9a11..45a65e9f 100644 --- a/continuation2.mu +++ b/continuation2.mu @@ -13,7 +13,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 @@ -30,8 +30,8 @@ def create-yielder l:&:list:num -> n:num, done?:bool [ local-scope load-inputs return-continuation-until-mark 100/mark - done? <- equal l, 0/nil - return-if done?, false + done? <- equal l, null + return-if done?, 0/dummy n <- first l l <- rest l ] |