March 2018
Beginner
616 pages
16h 53m
English
After reading lesson 12, you’ll be able to
In the preceding lesson, you learned how to use the basic types in Haskell. Now it’s time to start creating some types of your own. Creating types in Haskell is more important than in most other programming languages, even statically typed ones, as nearly every problem you solve will come down to the types you’re using. Even when using an existing type, you’ll often want to rename it to make understanding your programs easier. For example, take a look at this type signature:
areaOfCircle :: Double -> Double
This is a perfectly ...
Read now
Unlock full access