An unofficial Cookbook for PureScript
The recipes folder contains all the recipes in this repo in no particular order.
If you want to contribute a new recipe, see the CONTRIBUTING.md file.
Node | Web Browser | Recipe | Description |
---|---|---|---|
✔️ | HelloNode | Equivalent to HelloWorld recipe, but just targets node.js environment (not the browser too). For CI testing until another node-only recipe is created. |
|
✔️ | ✔️ | HelloWorld | This recipe shows how to run a simple "Hello world!" program in either the node.js or web browser console. |
✔️ | RoutingHashHalogen | This recipe shows how to use purescript-routing to do client-side hash-based routing in a Halogen-based single-page application (SPA). |
|
✔️ | RoutingHashLog | This recipe demonstrates hash-based routing with purescript-routing . No web framework is used. |
|
✔️ | RoutingPushHalogen | This recipe shows how to use purescript-routing to do client-side push-state routing in a Halogen-based single-page application (SPA). |