1

I'm working on my first GHCJS web application with Miso but I'm stuck on how to convert an GHCJS Object type into a JSVal to further use it. I can't find anything at all on how to do this...

Any help is appreciated.

1 Answers1

0

Assuming Object is this Object then it's an instance of IsJSVal which defines:

jsval :: IsJSVal a => a -> JSVal
user2847643
  • 2,893
  • 14
  • 22