Mindmap
Function Syntax
Inhalt der Mindmap
Function Syntax
Pattern matching
- Checked from top to bottom
- Allows recursivity
- Must have one general for fails
- _ ignores that item
- as patterns
- something@(x:y:z)
- Keeps the whole thing for use
- something@(x:y:z)
Guards
- Validate properties
- Have to implement "otherwise"
- Can implement "where"
- For don't repeat calculs/validations
- After guards
- Could be more than 1 variable
- Could implement pattern matching
- Syntactic constructs
Let
- Local variables
- Multiple separated by ";"
- Expresions
- Could be used in
- Lists
- Tuples
- Local variables
Case of
- Evaluate posible results
- Pattern matching
- Evaluate posible results
Informationen
- Beschreibung
- Mindmap am Function Syntax, erstellt von Nestor Ignacio Bernal Morales am 19/02/2018.
- Erstellt von
- Nestor Ignacio Bernal Morales
- Aufrufe
- 0
- Bewertung