package higher

  1. Overview
  2. Docs

Module type Higher.Newtype4Source

Construct a newtype for a type constructor with four parameters.

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