When I run this in the definitions window of DrRacket
#lang racket
(+ 100
   (call-with-composable-continuation
    (λ (k) (+ 1000 (k 1)))))

it prints
101
1201
in the interactions window.
Why doesn't it just print 1201 ?

Executing it in the interactions window gives the expected result of 1201.

Thanks,
Harry Spier

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to