λ v3.1.0 Release Notes
Release Date: 2018-07-17 // almost 6 years ago-
➕ Added
Fn3-8
static factory overloads to aid in coercing lambdas- ➕ Adding composition guarantees to
LensLike
CmpEqBy
,CmpEq
,GTBy
,GT
,LTBy
,LT
,GTEBy
,GTE
,LTEBy
, andLTE
inequality checksMinBy
,MaxBy
,Min
, andMax
semigroupsProduct2-8
interfaces, representing general product typesUnion
, a monoid that behaves like a lazy set union onIterable
sDifference
, a semigroup that behaves like a partially lazy set difference onIterable
sLambdaMap
, extension point forj.u.Map
, similar toLambdaIterable
Sequence#sequence
overloads forj.u.Map
that traverse via intermediateLambdaMap
instancesIntersection
, a semigroup that behaves like a lazy set intersection onIterable
sFn0
, a function fromUnit
to some valueFn1#thunk
, producing anFn0
Absent
, a monoid overMaybe
that is absence biasedRateLimit
, a function that iterates elements from anIterable
according to some rate limitTry#withResources
,Try
's expression analog to Java 7's try-with-resources statementOccurrences
, for counting the occurrences of the members of anIterable
Effect
, anFn0
returningUNIT
Noop
, a no-opEffect
Fn1#widen
, add an ignored argument to the beginning of any function to raise its arity by one
🔄 Changed
Tuple2-8
now implementProduct2-8
Into
now acceptsMap.Entry
Into3-8
now accept a product of the same cardinality, instead of requiring a tupleCoProduct2-8#project
now return generalized productsChoice2-8#project
return tuplesliftA2
receives more parameters to aid inference- 👍
Compose#getCompose
now supports inference
✂ Removed
- 🚀
MapLens#mappingValues
, deprecated in a prior release - 🚀
CollectionLens#asSet
, deprecated in a prior release - 🚀
CollectionLens#asStream
, deprecated in a prior release