use own compose

This commit is contained in:
Felix Roos 2022-04-11 22:32:53 +02:00
parent de3c453763
commit 9effc166bb
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import Fraction from './fraction.mjs'; import Fraction from './fraction.mjs';
import { compose } from 'ramda'; // will remove this as soon as compose is implemented here import { isNote, toMidi, compose } from './util.mjs';
import { isNote, toMidi } from './util.mjs';
// Removes 'None' values from given list // Removes 'None' values from given list
const removeUndefineds = (xs) => xs.filter((x) => x != undefined); const removeUndefineds = (xs) => xs.filter((x) => x != undefined);

View File

@ -1,4 +1,4 @@
import { curry } from 'ramda'; import { curry } from './strudel.mjs';
function unionWithObj(a, b, func) { function unionWithObj(a, b, func) {
const common = Object.keys(a).filter((k) => Object.keys(b).includes(k)); const common = Object.keys(a).filter((k) => Object.keys(b).includes(k));