purescript-book
purescript-book copied to clipboard
Sources for the PureScript book
As a complete beginner to PureScript i am missing the solutions to the exercises throughout the book. Any possibility that they can be hosted here, or even better included in...
``` instance streamString :: Stream String Char where uncons = String.uncons ``` Failed to compile with error "Could not match type CodePoint with type Char" I have to replace that...
Fix typo
This upgrades a lot of the examples to 0.12 and psc-package. Missing: - [ ] Chapter 8 (purescript-react) - [x] Chapter 9 (canvas) - [ ] Chapter 10 (purescript-react) -...
Currently I'm reading the book and working with examples, but for them to work I had to install previous version of the language. If you're not already working on example...
In this section: https://github.com/paf31/purescript-book/blob/master/text/chapter4.md#accumulators The `snoc` function is used but never explained.
Following the book running the examples with Purescript 0.12 I had an issue with code snippets on sections 5.7 (Record Patterns and Row Polymorphism). When declaring the function 'showPerson' following...
Verified that all exercise projects compile using the package set. I had to add a missing dependency on `-random` for chapter 8.
``` > :paste … execState (do … sumArray [1, 2, 3] … sumArray [4, 5] … sumArray [6]) 0 … ^D 21 ``` `sumArray` takes `Array Number`, the array values...