Hello all! I am going through https://docs.racket-lang.org/quick/index.html in both DrRacket and emacs with racket-mode and noticed that the output differs on the command (rainbow (square 5))
In DrRacket I obviously get the same as the tutorial… but in racket-mode I get the following:
My question is… is this correct output? Or should I consider this a bug in racket-mode?
Not a bug.
The output of rainbow is a list of picts.
How lists are printed are decided by the editor.
If you want one image with squares next to each other,
hc-append
?
yes!
Great… still that is an awkward way to display a list of pics!
Thanks for the help!
True. I don’t know whether it is a choice made by Greg - or whether there is a limitation in Emacs.
Alright… I filled an issue on the repository… it is nothing crucial, but it is unexpected if someone is following the tutorial….
Thanks again for the quick assist!
Np.
@philip.mcgrath thanks for confirming :)