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

link

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

Create a Link combining two Free structures.

@example
import { link, node } from "./free.ts";

const first = node(1);
const second = node(2);
const combined = link(first, second);
console.log(combined); // { tag: "Link", first: { tag: "Node", value: 1 }, second: { tag: "Node", value: 2 } }
function link<A>(first: Free<A>, second: Free<A>): Free<A>;
§
link<A>(first: Free<A>, second: Free<A>): Free<A>
[src]

§Type Parameters

§Parameters

§
first: Free<A>
[src]
§
second: Free<A>
[src]

§Return Type