Mind map
Chapter 8: Making Our Own Types and Typeclasses
Map content
Chapter 8: Making Our Own Types and Typeclasses
Algebraic Data Types
- define data type
- data
- Bool
- Int
- Shape
- rectangle
- circle
- square
- data
- define data type
Record Sintax
type parameters
- Value constructor
- takes some parameters
- returns new value
- takes some parameters
- Type Contructor
- takes type as parameter
- returns type
- takes type as parameter
- Value constructor
type synonyms
- char
- strings
- used for multple possible results
recursive data structures
- Binary Search Trees
typeclass 102
- define behaviorus
- Instances
- define behaviorus
Yes&No Typeclass
- Condition + 2 values
The Functor typeclass
- for lists that can be mapped
Kinds and some type-foo
- kind of a type :k
Information
- Description
- Mind Map on Chapter 8: Making Our Own Types and Typeclasses, created by NELSON ANDRES ARMAS SUA on 23/09/2019.
- Created by
- NELSON ANDRES ARMAS SUA
- Views
- 0
- Rating
More on Data Types and Typeclasses