@anmolagarwal4453 has joined the channel
Hi, I started learning Racket today. The documentation (and other online sources) mentions STEPPER (shows an image of the STEPPER in version 6.2) but I am unable to find the relevant button/option in version 8.1 . Can someone point me to it ?
Hi Anmol The stepper works for programs written in the first teaching languages. It does’t work for a #lang racket program. In DrRacket you can change the language in the Language menu. Try the HtDP Beginner-language first.
Changing the language worked, thank you very much !!
Thank you @chansey97 @kellysmith12.21 I haven’t seen Engine before ! https://docs.racket-lang.org/reference/engine.html\|https://docs.racket-lang.org/reference/engine.html
Maybe you’ll find the paper https://docs.racket-lang.org/reference/doc-bibliography.html#%28cite._.Haynes84%29 interesting too?
I’ve got a prompt
that corresponds to (abort #f)
forms that are in a cond
, such as: (prompt
(function))
(define (function)
(cond [condition1 (abort #f)]
[condition2 (abort #f)]
[else (dothatthing)]))
my problem is that those abort
don’t seem to bring me back to my prompt
, although I have only this single prompt
in my program. condition1
and condition2
are verfied to be #t
as expected. Can you help me, please?
To be clear, I expect the result of this program to be #f
Yes -thank you. Makes me think of watchdog timers for microcontrollers