package higher

  1. Overview
  2. Docs

Module type Higher.Newtype3Source

Construct a newtype for a type constructor with three parameters.

Sourcetype ('a, 'b, 'c) s
Sourcetype t
Sourceval inj : ('a, 'b, 'c) s -> ('a, ('b, ('c, t) app) app) app
Sourceval prj : ('a, ('b, ('c, t) app) app) app -> ('a, 'b, 'c) s