Skip to content

Commit

Permalink
revert additions of S.fromLeft and S.fromRight
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Jul 26, 2020
1 parent a4b2af9 commit c69b661
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2383,17 +2383,6 @@
impl: fromEither
};

_.fromRight = _.fromEither;


function fromLeft(x) {
return either (I) (K (x));
}
_.fromLeft = {
consts: {},
types: [a, $.Either (a) (b), a],
impl: fromLeft
};
//# lefts :: (Filterable f, Functor f) => f (Either a b) -> f a
//.
//. Discards each element that is a Right, and unwraps each element that is
Expand Down

0 comments on commit c69b661

Please sign in to comment.