File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed
Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ export default ( xs , ys ) => {
2+ const zs = new Set ( ys ) ;
3+
4+ return xs . filter ( x => ! zs . has ( x ) ) ;
5+ } ;
Original file line number Diff line number Diff line change 11import any from "./any.js" ;
22import are from "./are.js" ;
3+ import difference from "./difference.js" ;
34import differs from "./differs.js" ;
45import duplicates from "./duplicates.js" ;
56import empty from "./empty.js" ;
@@ -40,6 +41,7 @@ import zipWith from "./zipWith.js";
4041export {
4142 any ,
4243 are ,
44+ difference ,
4345 differs ,
4446 duplicates ,
4547 empty ,
@@ -81,6 +83,7 @@ export {
8183export default {
8284 any,
8385 are,
86+ difference,
8487 differs,
8588 duplicates,
8689 empty,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import memoize from "./memoize.js";
55import memoizeShallow from "./memoizeShallow.js" ;
66import memoizeWith from "./memoizeWith.js" ;
77import noOp from "./noOp.js" ;
8+ import not from "./not.js" ;
89import pipe from "./pipe.js" ;
910import when from "./when.js" ;
1011import whenTrue from "./whenTrue.js" ;
@@ -17,6 +18,7 @@ export {
1718 memoizeShallow ,
1819 memoizeWith ,
1920 noOp ,
21+ not ,
2022 pipe ,
2123 when ,
2224 whenTrue
@@ -30,6 +32,7 @@ export default {
3032 memoizeShallow,
3133 memoizeWith,
3234 noOp,
35+ not,
3336 pipe,
3437 when,
3538 whenTrue
Original file line number Diff line number Diff line change 1+ export default f => ( ...args ) => ! f ( ...args ) ;
You can’t perform that action at this time.
0 commit comments