compose
|
compose |
2 |
should return a function
|
- |
|
should be able to compose three functions
|
- |
|
concat
|
concat |
1 |
should concatenation all the elements of a list
|
- |
|
concatMap
|
concatMap |
1 |
should apply the function on all the elements and concatenate it
|
- |
|
curry
|
curry |
2 |
should return a curried function
|
- |
|
should return another curried function
|
- |
|
dropWhile
|
dropWhile |
1 |
should return the suffix remaining after takeWhile
|
- |
|
flip
|
flip |
1 |
should reverse the arguments
|
- |
|
foldl
|
foldl |
1 |
should apply the provided function
|
- |
|
head
|
head |
4 |
should return the head of a list
|
- |
|
should return undefined on an empty list
|
- |
|
should return the head of a string
|
- |
|
should return undefined on an empty string
|
- |
|
init
|
init |
4 |
should return all the elements of a list except the last one
|
- |
|
should return undefined on an empty list
|
- |
|
should return all the elements of a list except the last one of a string
|
- |
|
should return undefined on an empty string
|
- |
|
intersperse
|
intersperse |
2 |
should intersperse a element in a list
|
- |
|
should intersperse a element in a string
|
- |
|
last
|
last |
4 |
should return the last element of a list
|
- |
|
should return undefined on an empty list
|
- |
|
should return the last character of a string
|
- |
|
should return undefined on an empty string
|
- |
|
maximum
|
maximum |
2 |
should return the largest element
|
- |
|
should handle negative numbers
|
- |
|
minimum
|
minimum |
2 |
should return the lowest element
|
- |
|
should handle negative numbers
|
- |
|
nullAware
|
nullAware |
4 |
should return value if first parameter is null
|
- |
|
should return value if first parameter is undefined
|
- |
|
should return handle more types than strings
|
- |
|
should return the supposed to be null value if it is not null
|
- |
|
product
|
product |
3 |
should return the product of a list of numbers
|
- |
|
should not remember the state of the accumulator
|
- |
|
should handle negative numbers
|
- |
|
range
|
range |
4 |
should produce a range between a start and stop
|
- |
|
should return an empty list if start is bigger than stop
|
- |
|
should return an empty list if start is equal to stop
|
- |
|
should produce a range with a given step
|
- |
|
splitAt
|
splitAt |
4 |
should split a string
|
- |
|
should split a list
|
- |
|
should split on zero position
|
- |
|
should split on negative position
|
- |
|
sum
|
sum |
3 |
should summarize list of numbers
|
- |
|
should not remember the state of the accumulator
|
- |
|
should handle negative numbers
|
- |
|
tail
|
tail |
4 |
should return the tail of a list
|
- |
|
should return undefined on an empty list
|
- |
|
should return the tail of a string
|
- |
|
should return undefined on an empty string
|
- |
|
takeWhile
|
takeWhile |
1 |
should return the elements that satisfies the provided predicate function
|
- |
|
transpose
|
transpose |
2 |
should transpose the rows and the columns
|
- |
|
should transpose if some rows are shorter than the others and skip them
|
- |
|
uncons
|
uncons |
4 |
should decompose a list into its head and tail
|
- |
|
should return undefined on an empty list
|
- |
|
should decompose a string into its head and tail
|
- |
|
should return undefined on an empty string
|
- |
|
zip
|
zip |
2 |
should return the first item in each array in one array and the second in another
|
- |
|
should apply combinerFunction if provided
|
- |
|