In DrRacket, If you insert an image into a sweet expression using menu->Insert->Insert Image it generates the following error: peek-char: non-character in an unsupported context port: #input-port:string
test :
#lang sweet-exp racket
require picturing-programs
print << Insert Image from Menu >>
result:
IDE reports error - peek-char: non-character in an unsupported context port: #input-port:string
Same error reported when program is run.
Expected result - should work as per equivalent racket code ie:
#lang racket
(require picturing-programs)
(print << Insert Image from Menu >>)
;on run - outputs image.
In DrRacket, If you insert an image into a sweet expression using menu->Insert->Insert Image it generates the following error: peek-char: non-character in an unsupported context port: #input-port:string
test :
#lang sweet-exp racket
require picturing-programs
print << Insert Image from Menu >>
result:
IDE reports error - peek-char: non-character in an unsupported context port: #input-port:string
Same error reported when program is run.
Expected result - should work as per equivalent racket code ie:
#lang racket
(require picturing-programs)
(print << Insert Image from Menu >>)
;on run - outputs image.