The duplication is because you're evaluating the expression at top
level, so the repl is part of the continuation. The continuation isn't
(lambda (c) (c e2); it's actually something like (lambda (c)
(evaluate-in-repl (c e2)). So when you run (ret 9), you're actually
re-running the repl you had when
I've read a lot about call/cc, and each time wind up just moving on. So
this is an early New Year's resolution: getting a better understanding of
it.
According to Wikipedia's page on continuations, the continuation of the
statement:
((call/cc f) e2)
is:
(lambda (c) (c e2))
#lang racket
(define
BOB 2021
Conference
“What happens if we simply use what’s best?”
February 26, 2021, online
I've been using Scribble for course notes, slides, and various PDF
documents for distribution to students for about ten years. I got the idea
from several Racket principals who have been doing it for even longer, but
unlike them, I have only basic facility with the language. The
scribble-math p
This is how i want it looks like for the version 1.0:
[image: images.jpg]
If you want to make this cool game with me, leave a comment, bro!
Let's make something together!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this
5 matches
Mail list logo