Skip to content
 
 

Repository files navigation

PureScript-Cookbook

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.

Usage

Install Dependencies

Install GNU Make, and verify installation with:

make --version

Install all dependencies locally:

make installDeps

Running Recipes

See a list of available recipe launch commands by running:

make list

Then simply copy and paste one of the listed commands.

Recipes

Node Web Browser Recipe Description
✔️ ✔️ BigInt This recipe shows how to print, create, and use values of the BigInt type in either the node.js or web browser console.
✔️ 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).

About

An unofficial Cookbook for PureScript

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages