Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@milankinen milankinen released this 01 Apr 21:32
7d852cb
  • Improved higher kind type inference: Francis can now infer both value and container observable types for homomorphic operators (previously such operators returned Observable<ValueType>). Supports also curried partial usage and operator pipes:
const res = F.pipe(
  F.interval(1000, "tsers"),
  F.take(3),
  F.map(x => x.trim().toUpperCase()),
);
// typeof res === EventStream<string>