Daniel Goertzen
Daniel Goertzen
A documentation issue I think: The docs for `simpleCorsResourcePolicy` suggest that `content-type` is included, but it is clearly not. I struggled to find the problem because Chrome was not showing...
That does in fact work!
I was able to make this work on current NixOS with spago-0.16: - As previously mentioned, I have to `unset HOME`. - `spago` insists on touching the network to download...
Using `purs bundle` instead of `spago bundle-app` worked perfectly for my project. My default.nix is below. Note that I've separated deps into their own derivation so they don't need to...
I just stumbled into the same issue with Scotty and a simple StreamingBody result type. Incidentally I have used Effectful, Servant and Streaming together without issue because I used Servant's...
Aha! I got Scotty working with `monadUnliftIO`. ``` withRunInIO $ \toIo -> scottyT 80 toIo myEffServer ```
Thanks for pointing out `withEffToIO`; I should be using that instead. I am indeed doing side effects in the streaming response. Looking at my code I ejected the `withRunInIO` call...
I'm porting a codebase from cleff to effectful and am running into deprecated `:>>` issues. The code has stuff like this... ``` type AppE = '[Effect1, Effect2, Effect3] myFunction1 =...
Thanks, that did the trick! I didn't know about the `ConstraintKinds` extension before. Now I do. The conversion from cleff went well. I liked cleff, but the compiler plugin no...