strudel/docs/dist/groove.js
Felix Roos b64ccb4522 build
2022-02-15 23:05:38 +01:00

7 lines
286 B
JavaScript

import {Pattern as _Pattern} from "../_snowpack/link/strudel.js";
const Pattern = _Pattern;
Pattern.prototype.groove = function(groove) {
return groove.fmap(() => (v) => v).appLeft(this);
};
Pattern.prototype.define("groove", (groove, pat) => pat.groove(groove), {composable: true});