Revert "Another attempt at composable functions - WIP (#390)"
This reverts commit cbae355896.
This commit is contained in:
parent
fc71d349ed
commit
961bbf6f55
4 changed files with 108 additions and 326 deletions
|
|
@ -139,7 +139,7 @@ export const removeUndefineds = (xs) => xs.filter((x) => x != undefined);
|
|||
export const flatten = (arr) => [].concat(...arr);
|
||||
|
||||
export const id = (a) => a;
|
||||
export const constant = curry((a, b) => a);
|
||||
export const constant = (a, b) => a;
|
||||
|
||||
export const listRange = (min, max) => Array.from({ length: max - min + 1 }, (_, i) => i + min);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue