package higher

  1. Overview
  2. Docs

Construct a newtype for a type constructor with two parameters.

type ('a, 'b) s
type t
val inj : ('a, 'b) s -> ('a, ('b, t) app) app
val prj : ('a, ('b, t) app) app -> ('a, 'b) s