Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

getCombinable

import { getCombinable } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/free.ts";

Create a Combinable instance for Free.

@example
import { getCombinable, node } from "./free.ts";
import { pipe } from "./fn.ts";

const combinable = getCombinable<number>();
const first = node(1);
const second = node(2);
const combined = pipe(first, combinable.combine(second));

console.log(combined.tag); // "Link"
function getCombinable<A>(): Combinable<Free<A>>;
§
getCombinable<A>(): Combinable<Free<A>>
[src]

§Type Parameters

§Return Type