functional chain
as a previous commit, but add bindings in if-then-else statement. git add --all Bad understand git add --all
composing functional chains
functional chains aplication -> minimum ()
all together: functional aplication and composing -> not () -> realy cool!
simple array (list)
String is array of Char
length of array
all data is immutable -> concat elem to aray return new array
filter array return new array with true-ble elements / all as JS - cool
filter then map
simple ranges of chars or digits
clever ranges of chars or digits
clever ranges without end
corteg is short array (list) with diferent types / [] -> ()
List comprehension / crafty list [OPERATION ELEM | ELEM <- LIST]
List comprehension / crafty list [OPERATION ELEM | ELEM <- LIST, PREDICATE]
can mamy predicate or use logical 'and' -> &&
more lists [OPERATION_with_ELEMs | ELEM1 <- LIST1, ..., ELEMN <- LISTN ]
add if-then-else expression