Mindmap
Haskell types and typeclasses
Inhalt der Mindmap
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
Informationen
- Beschreibung
- Mindmap am Haskell types and typeclasses, erstellt von VICTOR ANDRES PEDRAZA LEON am 10/10/2021.
- Erstellt von
- VICTOR ANDRES PEDRAZA LEON
- Aufrufe
- 2
- Bewertung
Mehr zu Data Types and Typeclasses