Zusammenfassung der Ressource
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
- Suffix functions
- the function is placed
before the arguments
- 50 * 100
- 100 - 4999
- 92 `div` 10
- 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
- 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