Mindmap
Chapter 8: Making Our Own Types and Typeclasses
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Chapter 8: Making Our Own Types and Typeclasses, erstellt von NELSON ANDRES ARMAS SUA am 23/09/2019.
- Erstellt von
- NELSON ANDRES ARMAS SUA
- Aufrufe
- 0
- Bewertung
Mehr zu Data Types and Typeclasses