Mind map
Haskell types and typeclasses
Map content
Haskell types and typeclasses
By Victor Andres Pedraza
Algebraic data types
- use 'data' reserved word
- Define a new data type
- Have contrstructors
- Which are functions
- Export in other modules
- Use them in many parts
- use 'data' reserved word
Record syntax
- Parameters constructor
- Access param values
- DO NOT implement function
- Access param values
- Object with params
- Parameters constructor
Typeclass
- Interface
- Define behavior
- Implement in other type
- Implement behavior
Derived instances
- Show
- Representation
Information
- Description
- Mind Map on Haskell types and typeclasses, created by VICTOR ANDRES PEDRAZA LEON on 10/10/2021.
- Created by
- VICTOR ANDRES PEDRAZA LEON
- Views
- 2
- Rating
More on Data Types and Typeclasses