move some utilities to utils.mjs

This commit is contained in:
alex 2022-04-13 09:03:31 +01:00
parent fb826bed70
commit 9eba883978
3 changed files with 32 additions and 32 deletions

View file

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