threepenny-gui: close the window

64 Views Asked by At

Is it possible to close the window in threepenny-gui? I didn't find any Haskell-land functions like that in the package. I also tried runFunctions from both Core and Foreign.JavaScript but failed because neither of the Window types is marshable (no ToJS instances), and I'd need the window instance to call close() on it.

0

There are 0 best solutions below