[plt-scheme] Teaching languages and 2htdp/image
I would like to use 2htdp/universe and 2htdp/image with the HTDP
teaching languages, but I get conflicts because image? is defined
differently in 2htdp/image and the teaching languages. For example:
#lang racket
(require lang/htdp-beginner)
(require 2htdp/universe)
(require 2htdp/image)
results in the error:
simple-world.rkt:5:9: module: identifier already imported from a
different source in:
image?
2htdp/image
lang/htdp-beginner
I can avoid this by using (require (rename-in lang/htdp-beginner
(image? htdp/image))), but that seems inappropriate "magic" to use
with beginning students. Is there a better way to achieve this?
Justin