purescript-cookbook
purescript-cookbook copied to clipboard
An unofficial Cookbook for PureScript
I think the proposed name is descriptive enough. It also compliments the existing `WriteFileNode` recipe. This recipe is also a suggested template, so contributing.md will need to be updated too.
PureScript IDEs do not play nice with the cookbook directory structure. The IDEs usually expect to find these in the root directory: ``` root output/ packages.dhall spago.dhall ``` We still...
This step was leftover from when we used `pnpm`. https://github.com/JordanMartinez/purescript-cookbook/blob/1d3ede9f69900979cd8d54ff8b810116d3785340/makefile#L93-L98 Proposing: - Remove `installDeps` from makefile - Add package-lock.json to .gitignore - Update readmes to mention `npm i` for installing...
The current nix setup is a bit awkward to use. Would anyone mind if I swapped it to use `niv` to grab `easy-purescript-nix` instead? `niv` is just a thin layer...
**ClockHalogenHooks** Port [Elm Clock Example](https://elm-lang.org/examples/clock) to HalogenHooks. This issue was split from #158 so it can be addressed separately.
Can fix by moving [index.html](https://github.com/JordanMartinez/purescript-cookbook/blob/master/recipes/AddRemoveEventListenerJs/web/index.html) content to .purs.
**Recipe Name** ``` DecodeArbitraryJSON ``` **Recipe Description** i'm suggesting that this Stack Overflow question would make a good simple recipe: https://stackoverflow.com/questions/56533551/purescript-argonaut-decode-arbitrary-key-value-json The question seems like something that would occur to...
[try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/ImagePreviewsHalogenHooks/src/Main.purs) > Cannot import type StateId from module Halogen.Hooks Looks like an issue with an outdated TPS package set.
The error in the console is: > Uncaught DOMException: The operation is insecure. create Web.Socket.WebSocket/foreign.js:8 [try](https://try.ps.ai/?github=JordanMartinez/purescript-cookbook/master/recipes/DriverWebSocketsHalogenHooks/src/Main.purs) Not obvious how to fix this one.
**Recipe Name** ``` SimpleTaglessFinal ``` **Recipe Description** Re-cast the first example in this repo: https://github.com/afcondon/purescript-tagless-final-examples into the Recipe style