Haskell is the new kid on the block of programming languages. It too follows the computing paradigm called ‘Functional Programming’ i.e. approach a problem in terms of what the solution should look ...
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 ...
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.