Skip to content

v0.7.3

Choose a tag to compare

@emmanueltouzery emmanueltouzery released this 27 Mar 20:35
· 160 commits to master since this release
  • more precise type for the left part of a partition result in case the predicate is a type guard
  • add a series of curried type guards needed due to some TS limitation ( microsoft/TypeScript#20218 ) -- Either.isLeft, Either.isRight, LinkedList.isEmpty, LinkedList.isNotEmpty, Option.isSome, also for Vector, HashSet HashMap and so on.
  • add Either.sequenceAcc & Either.liftApAcc for 'applicative-like' behavior of accumulating errors instead of short-circuiting (alternative to a 'Validation' class)
  • [bugfix] didn't properly write the type definition for typeOf... the returned type was always 'string'...