Mind map
Starting Out Haskell
Map content
Starting Out Haskell
Haskell is statically typed
Infix functions
- the function is placed in between the arguments
- succ 8
- min 9 10
- max 100 101
- the function is placed in between the arguments
Suffix functions
- the function is placed before the arguments
- 50 * 100
- 100 - 4999
- 92 `div` 10
- the function is placed before the arguments
IF Statements
- ELSE is mandatory
Every expression and function must return something
- Expression
- Piece of code that returns a value
- 5
- 4 + 8
- x + y
- Piece of code that returns a value
- Expression
Definition
- Function that doesn't take any parameters
Lists
- Strings are lists of characters
- List Comprehension
- Build specific sets of general sets
- Homogeneous data structures
Tuples
- Are the way to store single values
- They are denoted with parentheses
- They don't have to be homogenous
Information
- Description
- http://learnyouahaskell.com/starting-out
- Created by
- Manuel Felipe Del Toro
- Views
- 68
- Tags
- Rating