Magical Haskell
/
Part 1: Foundation
Part 1: Foundation
Up next
Chapter 1: Wizards, Types, and Functions
In this part
Chapter 1: Wizards, Types, and Functions
Functional Programming Is Magic
Solving Problems As Wizards Do
Let’s Fall In Love With Types!
A Char and an Int walk into a bar and make a Function
How FunTypical!
Curry and Recurse!
Conclusion
Mage’s Toolbox 1: Simple Types, Simple Functions, Recursion, If-Else
Chapter 2: Type Construction
House of cards with a little help from Algebra
Algebraic Data Types
Records
Type Functions Are Functions, Maybe?
Advanced: On Data Constructors and Types
List, Recursion on Types and Patterns
Lift me up!
Chapter 3M: Gentle Type Theory Intro
Types and Functions
Maybe and Advanced Generalized Functions
Dependent Function Types (PI-types)