λ v3.2.0 Release Notes
Release Date: 2018-12-08 // over 5 years ago-
🔄 Changed
- Breaking Change:
Difference
andIntersection
no longer instances ofSemigroup
and moved tofunctions.builtin.fn2
package - Breaking Change:
Absent
moved tosemigroup.builtin
package - Breaking Change:
Effect#accept()
is now the required method to implement in the functional interface - Breaking Change:
Fn0#apply()
is now the required method to implement in the functional interface - Breaking Change:
GTBy
,GT
,LTBy
,LT
,GTEBy
,GTE
,LTEBy
, andLTE
take the right-hand side first for more intuitive partial application - Breaking Change:
Effect
now returns anIO
RightAny
overload returnsMonoid
- monoids now all fold with respect to
foldMap
- monoid folding now implicitly starts with the identity, regardless of iterable population
Concat
monoid can now fold infinite iterables- 👍 all
Function<? super XXX, Boolean>
are nowFunction<? super XXX, ? extends Boolean>
for better compatibility Either#diverge
returns aChoice3
Maybe
is now aCoProduct2
ofUnit
andA
Fn0
now additionally implementsCallable
CheckedRunnable
is anIO<Unit>
➕ Added
Predicate#predicate
static factory methodProduct2-8
left/right rotation methodsTuple2-8
specializations of left/right product rotationCheckedEffect
, anEffect
variant that can throw checked exceptionsCheckedFn1#checked
, convenience static factory method to aid inference- 🔊
LiftA3-8
, higher-arity analogs toLiftA2
Alter
, for applying anEffect
to an input and returning it, presumably alteredClamp
, for clamping a value between two boundsBetween
, for determining if a value is in a closed intervalStrong
, profunctor strengthIO
monadRunAll
semigroup and monoid instance forIO<A>
🗄 Deprecated
AddAll
semigroup, in favor of the monoid that no longer mutates any argument- Dyadic
Either#flatMap()
, in favor ofEither#match
- Breaking Change: