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

fromCombine

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

Create a Combinable from a Combine and an init function.

@example
import { fromCombine } from "./combinable.ts";

const numberCombinable = fromCombine<number>(
  (second) => (first) => first + second
);
const result = numberCombinable.combine(5)(3); // 8
function fromCombine<A>(combine: Combine<A>): Combinable<A>;
§
fromCombine<A>(combine: Combine<A>): Combinable<A>
[src]

§Type Parameters

§Parameters

§
combine: Combine<A>
[src]

§Return Type