Open learningps opened 7 years ago
In this section: https://github.com/paf31/purescript-book/blob/master/text/chapter4.md#accumulators
The snoc function is used but never explained.
snoc
You can easily see a function definitions and get an idea how they work in each modules source file as they are very well documented. In this case you can check Array.purs inside purescript-arrays
Array.purs
purescript-arrays
In this section: https://github.com/paf31/purescript-book/blob/master/text/chapter4.md#accumulators
The
snoc
function is used but never explained.