ghcjs javascript callbacks
A haskell project I am working on needs the ability to call javascript from haskell and then call back into haskell from javascript. Here’s a minimal ghcjs program that shows how to do this:
A haskell project I am working on needs the ability to call javascript from haskell and then call back into haskell from javascript. Here’s a minimal ghcjs program that shows how to do this: