Changelog
v0.11.1
register
toomatch
functionisArguments
, isDate
, isNull
, isRegExp
addedclassOf
cons
, init
Stream
supports more versatile generators noweach
will now stop if the passed function returns false
Changelog
v0.10.3
permutations
functionChangelog
v0.10.2
eq
was not working properly with Tuples and not with Lists at all. Fixed.eq
uses now Nodash.typeOf
instead of JavaScripts typeof
Changelog
v0.10.1
reduceLeft
and reduceRight
introduced as aliases for foldl
and foldr
.Changelog
v0.9.2
curry
and uncurry
addedBreaking Changes:
fst
and snd
therefore no longer work with arrays but with Tuples onlylazy
generates a List
stream
takes a generator now and generates a Stream
List
and Stream
List
and Stream
have laziness built in by using Thunk
internallyEither
is now a proper type
Either
are updated accordinglyconsume
and consumeString
removed in favor of listToArray
and listToString
run
was adapted to fit the node convention of passing the error in the
first argumentAdditions:
List
added, along with listToArray
and listToString
head
, tail
, and isEmpty
Stream
added
List
but designates infinite ListsTuple
added
fst
and snd
(a, (b, c))
Either
type added, with constructors Left
and Right
isInteger
added - checks whether something is an integral numberisBoolean
added - checks whether something is a booleanisUndefined
added - checks whether something is undefinedis
added - flipped shorthand version of instanceof
range
and rangeStep
added - returns lazy lists for the given rangeOther Changes:
Array.isArray
and Object.keys
were removed
Changelog
v0.9.1
isLetter
added - checks if a strings contains of only alphabetic characters
where an alphabetic character is something that has an upper case and a lower
case.isUpper
and isLower
now accept strings that also pass isLetter
.curried
is not exported via register
and shows up in the api documentation.