-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
empty-scene is a stub #16
Comments
It appears the error only occurs when I run with racket and not whalesong, so I believe this is not a bug. Sorry. |
The ideal is that a Whalesong program runs in both DrRacket and the browser. |
I'm investigating this. I tried simply exporting functions from 2htdp/image to use when running in DrRacket, but it doesnt work because whalesong defines it's own https://github.com/soegaard/whalesong/blob/master/whalesong/image/private/color.rkt Anyone know why it needs to do this? |
Whalesong wont compile modules written with #lang racket, that is why it uses its own struct color. Same is with posn. We have to import struct depending we are compiling for JS or running as Racket program. |
lang whalesong
(require whalesong/world)
(require whalesong/image)
(empty-scene)
Produces the error:
empty-scene: stub definition
Should I use something else?
The text was updated successfully, but these errors were encountered: