Closed flannery-denny closed 2 years ago
@schanzer if you want me to do this, please share the behind the scenes code from the wescheme file. Thanks!
.... could stick the links into a Desmos activity with a tiny bit of instruction and share it in the Desmos facebook group too! Folks always want holiday activities. Happy to throw something together, thinking it would be very simple.
PS - I'd never seen this snowman puzzle before. It's cute!
WeScheme files from Jen Snowman Teachpak Snowman Puzzle
Draft of Pyret files from Flannery - context isn't quite working... Snowman Puzzle Snowman Context
@schanzer. Any idea why the puzzle says that all of the things defined in the context are unbound?
@flannery-denny my hunch is that the context doesn't provide any of those symbols. You'll need to add one or more provide ...
expressions at the top of the context file.
For reference, here's a snippet from the top of the fall2022 algebra context:
provide *
import color as C
import math as M
include reactors
include image-structs
include reactors
import sets as S
import lists as L
provide from L:
*,
type *,
data *
end
import image as I
provide from I:
*,
type *,
data *
end
I think you only really need the image
code, and the top-level provide *
expression
Thanks. that solved it. Meant to use the algebra context but the new essentials tricked me into thinking they had everything I needed :)
https://www.wescheme.org/openEditor?publicId=UgjYPyzBKZ