Commit 6603b9c3 by Vladislav Lagunov

Удален eff

parent 681c0ec6
import { Eff } from './';
import Monad from 'burrido';
// Do notation
export const { Do } = Monad({
pure: Eff.of,
bind: (m, proj) => m.chain(proj),
});
Eff.Do = Do;
declare module "./index" {
interface EffStatics {
Do<Error, Success>(iter: () => IterableIterator<Eff<Error, Success>>): Eff<Error, Success>;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment