Help shape GoConqr. What should we add next?

Mind map

Haskell types and typeclasses

VICTOR ANDRES PEDRAZA LEON English

Map content

Haskell types and typeclasses

  1. By Victor Andres Pedraza

  2. 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
  3. Record syntax

    • Parameters constructor
      • Access param values
        • DO NOT implement function
    • Object with params
  4. Typeclass

    • Interface
    • Define behavior
      • Implement in other type
      • Implement behavior
  5. Derived instances

    • Show
    • Representation

Information

Description
Mind Map on Haskell types and typeclasses, created by VICTOR ANDRES PEDRAZA LEON on 10/10/2021.
Views
2
Rating

More on Data Types and Typeclasses

Feedback

What is it about?

What should we add next?