mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-22 19:18:31 +00:00
use own compose
This commit is contained in:
parent
de3c453763
commit
9effc166bb
@ -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…
x
Reference in New Issue
Block a user