Revert "Another attempt at composable functions - WIP (#390)"

This reverts commit cbae355896.
This commit is contained in:
Felix Roos 2023-02-27 15:20:49 +01:00
parent fc71d349ed
commit 961bbf6f55
4 changed files with 108 additions and 326 deletions

View file

@ -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);