F should extend HktRep because functions below require HktRep.

All instances of Representable must satisfy these laws:

  • compose(index)(tabulate) == id,
  • compose(tabulate)(index) == id.

Type Parameters

  • P

Hierarchy

Properties

diMap: (<A, B>(f) => (<C, D>(g) => ((m) => Instance<Apply2<P, D, A>>)))

Type declaration

first: (<A, B, C>(m) => Instance<Apply2<P, [B, C], [A, C]>>)

Type declaration

functor: Functor<Rep<P>>
index: (<T, U>(f) => ((rep) => Instance<Apply1<Rep<P>, U>>))

Type declaration

second: (<A, B, C>(m) => Instance<Apply2<P, [C, B], [C, A]>>)

Type declaration

tabulate: (<T, U>(f) => Get2<P, T, U>)

Type declaration

Generated using TypeDoc