use own compose
This commit is contained in:
parent
de3c453763
commit
9effc166bb
2 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue