This is a literate Haskell page: you can load it directly into ghci by following these steps. In this note, we’ll look at how to define our own data types in Haskell.
The following is based in part on https://www.haskell.org/tutorial/, other Haskell web resources, and the 2014 book Thinking Functionally in Haskell by Richard Bird ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results