Closed yihuang closed 8 years ago
I dug into this a bit more, and it seems we can use coerce to convert to and from Canvas
now. @yihuang can you check if coerce
is sufficient to your needs?
(It's nice that GHCJS is based on GHC-7.10, and I don't have to worry about 7.6 compatibility =)
I've implemented several programs using coerce
. As far as I know, it's sufficient, so I'm closing this one.
@luite What do you think? I'd like to have
unsafeToCanvas
available untiltoCanvas
is properly implemented. What'stoCanvas
meant to do? I can take a stab at a proper implementation.