Re: [racket-users] confusion about call-with-current-continuation

2018-10-26 Thread serioadamo97
t;> Em quinta-feira, 25 de outubro de 2018, > escreveu: > >>>>> > >>>>> Dear all, > >>>>> > >>>>> I am learning call/cc in racket, so I wrote some experiment code: > >>>>> > >>>>>

Re: [racket-users] confusion about call-with-current-continuation

2018-10-25 Thread serioadamo97
t;>> 0))) >>>> >>>> (println 'hello) >>>> >>>> (saved-k 100) >>>> >>>> ;; why 'hello not print more than once?? >>>> >>>> ) >>>> >>>> The execut

Re: [racket-users] confusion about call-with-current-continuation

2018-10-25 Thread serioadamo97
; About continuation, for example: >> >> assume exp1 is: >> (+ 1 (call/cc >> (lambda (k) ; k is the captured continuation >> (set! saved-k k) >> 0))) >> >> exp2 is: >> (println 'hello) >> >> Whether e

[racket-users] confusion about call-with-current-continuation

2018-10-25 Thread serioadamo97
se me, this question may be stupid, forgive my ignorance... Thanks. Br, serioadamo97 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+uns