import { right } from "https://deno.land/x/fun@v2.0.0-alpha.6/async_either.ts";
Constructs a AsyncEither from a value and wraps it in an inner Right. Traditionally signaling a successful computation
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";
import * as TE from "./async_either.ts";
import * as E from "./either.ts";
const computation = TE.right<number, number>(1);
const result = await computation();
assertEquals(result, E.right(1));
Parameters
right: A