News for hackers. Stuff that matters.
Re:PureScript and Haskell by surfer7837 on Saturday February 27, 2021 @07:42AM (#26284493)
Anyone know how I can write an AWS Lambda in PureScript? Do I just need a JS wrapper and then call my compiled PureScript from that?
Re:PureScript and Haskell by samhh on Saturday February 27, 2021 @11:02AM (#26285648)
That would certainly work, I've got a rewrite of a WebExtension in progress that does the same thing.

Depending upon what the likes of `Aff` compile down to, you may not even need a JS wrapper. If the compiled type signature is compatible you can just point the Node.js runtime directly to the PureScript output.