purescript-wai
purescript-wai copied to clipboard
Purescript Web Application Interface. Port of the Haskell WAI library.
Hi @Woody88 ! I'm building backends that utilize AWS api gateway and Lambda. Basically that simply involves creating the ff: ``` newtype ApiGwHandler = ApiGwHandler (EffectFn2 ApiGwReq LambdaContext (Promise ApiGwResp))...
Given that [`Request` includes a backend-specific request object](https://github.com/Woody88/purescript-wai/blob/master/src/Network/Wai/Internal.purs#L34), it might be better to redefine that type via row polymorphism: ```purescript newtype Request otherRows = Request { method :: H.Method ,...