Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Mapa mental

SecondPart_Types

CUERVO ARDILA ANDRES FELIPE Espanhol

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

Mind map: types in Haskell

Conteúdo do mapa

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

Informações

Descrição
Mapa Mental sobre SecondPart_Types, criado por CUERVO ARDILA ANDRES FELIPE em 20-02-2018.
Visualizações
9
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?