GoConqr has a new look! Let us know what you think.

Mind map

Function Syntax

Nestor Ignacio Bernal Morales Spanish

Map content

Function Syntax

  1. 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
  2. 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
  3. Let

    • Local variables
      • Multiple separated by ";"
    • Expresions
    • Could be used in
      • Lists
      • Tuples
  4. Case of

    • Evaluate posible results
      • Pattern matching

Information

Description
Mind Map on Function Syntax, created by Nestor Ignacio Bernal Morales on 19/02/2018.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?