In the recent meetups, we’ve talked about having a “cookbook” form of documentation. I’ve created a repo for that purpose. Please see and participate in the discussion here: https://github.com/JordanMartinez/purescript-cookbook/issues/1. If you have come across a problem and wanted to know how to do X (e.g. routing in Halogen, date manipulation, removing the
Nothings in an
Array (Maybe X), etc.), please open a recipe request for that by clicking on ‘new issue.’
The reason why this is “unofficial” is because I want a fast iteration cycle. I don’t expect all of the recipes at this point to be high-quality things. The good news is that PureScript makes it easy to refactor. So, if you have a crappy solution to some problem, please submit it. It should help new learners figure out how to do certain things.
See the Rust Cookbook for an example of what this could look like.