Closed RobertFischer closed 6 years ago
GHJS has an "interruptible" safety level: https://github.com/ghcjs/ghcjs/blob/master/doc/foreign-function-interface.md#interruptible
That fails to parse in Stylish Haskell, and throws an error about the literal string (JavaScript code) immediately following it being unparseable. I'm assuming the issue is here in haskell-src-exts, not in stylish-haskell.
haskell-src-exts
stylish-haskell
My bad: you need to have the InterruptibleFFI pragma enabled. Then it works just fine.
InterruptibleFFI
GHJS has an "interruptible" safety level: https://github.com/ghcjs/ghcjs/blob/master/doc/foreign-function-interface.md#interruptible
That fails to parse in Stylish Haskell, and throws an error about the literal string (JavaScript code) immediately following it being unparseable. I'm assuming the issue is here in
haskell-src-exts
, not instylish-haskell
.