Re: [racket-users] pictures in code?

2020-08-03 Thread Philip McGrath
On Mon, Aug 3, 2020 at 9:47 AM Hendrik Boom wrote: > On Sun, Aug 02, 2020 at 08:58:54PM -0700, Sorawee Porncharoenwase wrote: > > For DrRacket, it's possible via "Insert > Insert Image". It's been used > in > > HtDP. See https://htdp.org/2020-8-1/Book/part_prologue.html > > Now that's presumably

Re: [racket-users] pictures in code?

2020-08-03 Thread Hendrik Boom
On Sun, Aug 02, 2020 at 08:58:54PM -0700, Sorawee Porncharoenwase wrote: > For DrRacket, it's possible via "Insert > Insert Image". It's been used in > HtDP. See https://htdp.org/2020-8-1/Book/part_prologue.html Yes! That's where I saw this many years ago. Now that's presumably something that

Re: [racket-users] pictures in code?

2020-08-02 Thread Sorawee Porncharoenwase
For DrRacket, it's possible via "Insert > Insert Image". It's been used in HtDP. See https://htdp.org/2020-8-1/Book/part_prologue.html On Sun, Aug 2, 2020 at 7:07 PM Hendrik Boom wrote: > Is there any way to include pictures in Racket code? > Perhaps as constants or as prts of identifiers? >

[racket-users] pictures in code?

2020-08-02 Thread Hendrik Boom
Is there any way to include pictures in Racket code? Perhaps as constants or as prts of identifiers? The idea is that when editing the program in the Racket editor, the pictures are visible as part of the code, making the code itself more visually self-evident, not as file names to be read from