Help shape GoConqr. What should we add next?

Mind map

SecondPart_Types

CUERVO ARDILA ANDRES FELIPE Spanish

Mind map about types in Haskell: what is this, variables and typeclass

Mind map: types in Haskell

Map content

SecondPart_Types

  1. What is this?

    • Typy is a kind of label that every expression has.
      • Char
        • Stands for Charater.
          • 'a'
          • 'hello'
      • Bool
        • Is a boolean type, have only two values
          • True
          • False
      • Int
        • stands for integers numbers with range -2147483648 to 2147483647
      • Float
        • stands for real floating point numbers
      • Double
        • is a real floating point with double the precision
  2. Variables

    • the type variables are used to return any type of a function
  3. Typeclass

    • A typeclass defines a behavior to a type
      • all types belongs to Eq, Ord and Show classes
        • Eq
          • This class allows comparisons for equality
        • Ord
          • Ord covers all the standard comparing functions such as >, <, >= and <=.
        • Show
          • Convert any type to String
        • Enum
    • Class constrain
      • everything before => is a class constraint that belongs to the class and takes its behaviors

Information

Description
Mind Map on SecondPart_Types, created by CUERVO ARDILA ANDRES FELIPE on 20/02/2018.
Views
9
Rating

Feedback

What is it about?

What should we add next?