dependabot[bot] on npm_and_yarn
build(deps): bump decode-uri-co… (compare)
dependabot[bot] on npm_and_yarn
dependabot[bot] on npm_and_yarn
build(deps): bump moment from 2… (compare)
dependabot[bot] on npm_and_yarn
build(deps): bump moment from 2… (compare)
dependabot[bot] on npm_and_yarn
build(deps): bump shelljs from … (compare)
dependabot[bot] on npm_and_yarn
build(deps): bump marked from 0… (compare)
forEach
PR, I get: "We couldn't find the repository funfix/funfix": https://travis-ci.org/funfix/funfix/builds/341027071?utm_source=github_status&utm_medium=notification
monix
name too.
Observable
class will get huge due to having so many operators.
Observable
could have a transform
or pipe
on it that takes one of those functions which should have been methods.
var Ack;
(function (Ack) {
function syncOn(ack, callback) {
if (ack === exports.Continue || ack === exports.Stop) {
callback(funfix_1.Success(ack));
}
else {
ack.onComplete((result) => {
callback(result);
});
}
return ack;
}
Ack.syncOn = syncOn;
...
export interface Observer<T> {
onNext(elem: T): Ack
onComplete(): void
onError(e: Throwable): void
}
export namespace Observer {
export interface Sync<T> extends Observer<T> {
onNext(elem: T): SyncAck
}
}
export interface WithScheduler<T> {
readonly scheduler: Scheduler
}
export interface Subscriber<T> extends WithScheduler<T>, Observer<T> {
}
export namespace Subscriber {
export interface Sync<T> extends WithScheduler<T>, Observer.Sync<T> {
}
}
export type Operator<I, O> = (s: Subscriber<O>) => Subscriber<I>
Ack
to be SyncAck
and AsyncAck
to not exist.
Future
and hiding it would probably make it worse.
11M node_modules/funfix-types/
9.8M node_modules/funfix-types/dist/docs/
@/all I released the initial version of https://funland-js.org
This is the replacement for funfix-types
. It's a refactoring, the types are plain interfaces with no code, compatible with static-land
and the higher-kinded encoding is also compatible with fp-ts
. And the laws are provided as a separate project, because size matters.
And then this is going to be a dependency for all of funfix
's sub-projects, so all data types are going to be compatible with the static-land
spec by default.
@/all Released a new Funfix version: https://github.com/funfix/funfix/releases/tag/v7.0.0-rc.2
It’s a pre-release, with breaking changes, exports its “types” sub-project into https://funland-js.org; the theme of the release being compatibility with static-land, Fantasy-Land and reuses the HTKs encoding of fp-ts.