Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Mapa mental

secondPart_TypesAndTypeclasses

Daniel Velez Programacion Funcional Español

Contenido del mapa

secondPart_TypesAndTypeclasses

  1. Definition

    • Type can be a label that differences the data
      • Char: 'a'
      • Bool: true or false
      • Int: stands for integers numbers with range -2147483648 to 2147483647
      • Float: stands for real floating point numbers
      • Double: a floating point with decimals
  2. Typeclass

    • A typeclass defines a behavior to a type
      • 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
    • Class constrain
      • everything before => is a class constraint that belongs to the class and takes its behaviors

Información

Descripción
Programacion Funcional Mapa Mental sobre secondPart_TypesAndTypeclasses, creado por Daniel Velez el 27/02/2018.
Creado por
Daniel Velez
Visitas
0
Historial
  • Creado por CUERVO ARDILA ANDRES FELIPE · 20 feb 2018
  • Copiado por Daniel Velez · 27 feb 2018
Valoración

Más sobre Data Types and Typeclasses

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?