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

Mindmap

SecondPart_Syntax in Functions

CUERVO ARDILA ANDRES FELIPE Spanisch

SecondPart_Syntax in Functions

Inhalt der Mindmap

SecondPart_Syntax in Functions

  1. Pattern matching

    • serves to make the code more orderly and easy to read
    • allows all types of data
    • errors occur when the pattern receives an unexpected value
    • head tail pattern
      • x:xs
        • X is a head and XS is a tail
  2. As Patterns

    • they are useful to decompose something by referring to something as a whole
      • all@ (x:_)
  3. Guards

    • it's like a Boolean expression, when it evaluates True it returns the body of the function and when it evaluates False, it passes to the next guard
      • Is similar to the If else ... if else or case in Java
    • otherwise
      • otherwise, it is the real case if you do not find one previously in the guard
  4. where

    • A equation is linked to a variable so that it does not have to be repeated in a program at the end of the function
  5. Let it be

    • It's similar to Where, the difference
      • is similar to Where, the difference is that the Let can link in anywhere and acts on itself

Bilder und Dateien der Mindmap

  • SecondPart_Syntax in Functions
  • SecondPart_Syntax in Functions

Informationen

Beschreibung
Mindmap am SecondPart_Syntax in Functions, erstellt von CUERVO ARDILA ANDRES FELIPE am 26/02/2018.
Aufrufe
13
Bewertung

Feedback

Worum geht es?

Was sollen wir als Nächstes hinzufügen?