Mapa mental
Chapter 8: Making Our Own Types and Typeclasses
Conteúdo do mapa
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
Informações
- Descrição
- Mapa Mental sobre Chapter 8: Making Our Own Types and Typeclasses, criado por NELSON ANDRES ARMAS SUA em 23-09-2019.
- Criado por
- NELSON ANDRES ARMAS SUA
- Visualizações
- 0
- Avaliação
Mais sobre Data Types and Typeclasses