about summary refs log tree commit diff stats
path: root/src/preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences.c')
0 files changed, 0 insertions, 0 deletions
ef='/akkartik/mu/commit/callcc.mu?h=hlt&id=088b57753fe93415b13fe06b3b398033e4ab937d'>088b5775 ^
ce87c19e ^
088b5775 ^



bc643692 ^
ce87c19e ^
088b5775 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


                                                                  
                     
                                                                   



                     
         



                                                                 
          
                                                              
 
# example program: saving and reusing call-stacks or continuations

recipe main [
  c:continuation <- f
  continue-from c                         # <-- ..when you hit this
]

recipe f [
  c:continuation <- g
  reply c
]

recipe g [
  c:continuation <- current-continuation  # <-- loop back to here
  $print 1
  reply c  # threaded through unmodified after first iteration
]