summary refs log tree commit diff stats
path: root/TODO
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-02-28 19:00:05 +0100
committerhut <hut@lavabit.com>2010-02-28 19:21:33 +0100
commit69d1220f348219118ecf4154a6532864a93265b1 (patch)
treee597e8733e9019c84a4e835f637b0cc83ea1f411 /TODO
parent0619b0954cdd3a05dcd93498046a8b9c4daad8e0 (diff)
downloadranger-69d1220f348219118ecf4154a6532864a93265b1.tar.gz
todo: fixed non-unique bug ID
Diffstat (limited to 'TODO')
-rw-r--r--TODO2
1 files changed, 1 insertions, 1 deletions
diff --git a/TODO b/TODO
index bbf59c37..741cf4ce 100644
--- a/TODO
+++ b/TODO
@@ -66,7 +66,7 @@ Bugs
    (X) #54  10/01/23  max_dirsize_for_autopreview not working
    ( ) #60  10/02/05  utf support improvable
    (X) #62  10/02/15  curs_set can raise an exception
-   (X) #64  10/02/16  "source ranger ranger some/file.txt" shouldn't cd after exit
+   (X) #65  10/02/16  "source ranger ranger some/file.txt" shouldn't cd after exit
 
 
 Ideas
t;vc@akkartik.com> 2017-11-03 00:40:05 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2017-11-03 01:49:36 -0700 4103 - continuations no longer cause memory corruption' href='/akkartik/mu/commit/continuation1.mu?h=main&id=a3195d440d2f0e99400db78e5a4386691c94a9a0'>a3195d44 ^
6e455985 ^
a3195d44 ^
4a48bedc ^
5059f32d ^
6e455985 ^
a3195d44 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
                                                                             

                                                                            
 




                                              

                  


             
                                                                        

                                    

 
                             
             
             
                                         
          
 
# Example program showing that 'return-continuation-until-mark' can 'pause' a
# function call, returning a continuation, and that calling the continuation
# can 'resume' the paused function call.
#
# To run:
#   $ git clone https://github.com/akkartik/mu
#   $ cd mu
#   $ ./mu continuation1.mu
#
# Expected output:
#   1

def main [
  local-scope
  k:continuation <- call-with-continuation-mark 100/mark, create-yielder
  x:num <- call k  # should return 1
  $print x 10/newline
]

def create-yielder -> n:num [
  local-scope
  load-inputs
  return-continuation-until-mark 100/mark
  return 1
]