This is exceedingly cool. Thanks for sending the link!
As a matter of style, when I'm dealing with foreign objects, I usually
make some wrapper datatype that doesn't export its constructor, and keep
the raw Ptr in there. Like:
abstract
data GameState = MkGameState Ptr
rather than casting Ptrs using believe_me.
/David
> --
> You received this message because you are subscribed to the Google
> Groups "Idris Programming Language" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
idris-lang+...@googlegroups.com
> <mailto:
idris-lang+...@googlegroups.com>.