purescript-cookbook
purescript-cookbook copied to clipboard
An unofficial Cookbook for PureScript
In today's meeting there were some recipe requests for FFI, Promises, and Logging with Monad Transformers. Example of those can be found in these book chapters. https://book.purescript.org/chapter10.html https://book.purescript.org/chapter11.html For example,...
Should we encourage more comments in recipes? I think that will help beginners.
**Description of Problem** Use [routing-duplex](https://github.com/natefaubion/purescript-routing-duplex) for both server and client (i.e. SPA) routing. **Proposed Name of Folder/Module** ``` Unique Recipe Name: ServerClientRoutingDuplex ``` **Comparison to other recipes** Similar to the...
**Description of Problem** Show how to set up a server using `purescript-warp` that uses `routing-duplex` to parse the path. **Comparison to other recipes** None so far. **Additional context**
I'm using Linux and CI runs on Linux. I've been wondering whether a Windows user can `git clone` this repo and run `make HelloWorld-node` without problems. I would imagine not...
We have a [few stable / pretty mature non-JS backends](https://github.com/purescript/documentation/blob/master/ecosystem/Alternate-backends.md). I'd like to make it possible for someone to write `make HelloWorld-` and see the results of that. This would...
FYI, I spotted this comment by @f-f in an old issue that came-up when working in this cookbook: > The new Spago does not have `sources` anymore https://github.com/purescript/spago/issues/648#issuecomment-1722196491 Don't know...
**Recipe Name** ``` GroceriesHalogen ``` . **Recipe Description** This recipe should do the same thing as `GroceriesHalogenHooks` but without the hooks.
**Recipe Name** ``` YogaJsonSimpleDeserialize ``` **Recipe Description** Show how to deserialize some json with `yoga-json`.
Bump nix
Fixes #299. This `rev` and `sha` are the latest from running `nix-prefetch-git https://github.com/justinwoo/easy-purescript-nix.git`. We might just want to delete this `shell.nix`, I for one am not especially interested in maintaining...