Mapa mental
Chapter 8: Making Our Own Types and Typeclasses
Contenido del 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
Información
- Descripción
- Mapa Mental sobre Chapter 8: Making Our Own Types and Typeclasses, creado por NELSON ANDRES ARMAS SUA el 23/09/2019.
- Creado por
- NELSON ANDRES ARMAS SUA
- Visitas
- 0
- Valoración
Más sobre Data Types and Typeclasses