Skip to main content
Module

x/fun/mod.ts>optics.reviewer

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function optics.reviewer
import { optics } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { reviewer } = optics;

Construct a Reviewer<S, A> from a review function.

Parameters

review: (a: A) => S