Gestalte GoConqr mit. Was sollen wir als Nächstes hinzufügen?

Mindmap

secondPart_TypesAndTypeclasses

Daniel Velez Programacion Funcional Spanisch

Inhalt der Mindmap

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

Informationen

Beschreibung
Programacion Funcional Mindmap am secondPart_TypesAndTypeclasses, erstellt von Daniel Velez am 27/02/2018.
Erstellt von
Daniel Velez
Aufrufe
0
Verlauf
  • Erstellt von CUERVO ARDILA ANDRES FELIPE · 20 Feb 2018
  • Kopiert von Daniel Velez · 27 Feb 2018
Bewertung

Mehr zu Data Types and Typeclasses

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?