Help shape GoConqr. What should we add next?

Mind map

Types and Typeclasses

TORRES GUERRERO DAVID ALBERTO Spanish

Map content

Types and Typeclasses

  1. Algebraic data types

    • data "name" = "value" | "other value"
    • data "name" = "value" parameters | "value" parameters
  2. record syntax

    • data "name" = "name" { parameterName :: type, secondparameter :: type}
  3. type parameters

    • data maybe a = nothing | just a
    • data name a b c = name { parameter :: a, parameter2 :: b, parameter3 :: c}
  4. Derived instances

    • data person{ parameters} deriving(Eq)
      • Eq
      • Ord
      • Enum
      • Bounded
      • Show
      • Read
  5. Type synonyms

    • type String = [char]
  6. recursive data structures

    • trees
    • nodes

Information

Description
Mind Map on Types and Typeclasses, created by TORRES GUERRERO DAVID ALBERTO on 23/09/2019.
Views
0
Rating

More on Data Types and Typeclasses

Feedback

What is it about?

What should we add next?