UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

9 lines (7 loc) 263 B
// @flow import { HKT } from './HKT' import type { HKT2 } from './HKT' import type { Functor } from './Functor' export interface Profunctor<F> extends Functor<HKT<F, *>> { promap<A, B, C, D>(f: (a: A) => B, g: (c: C) => D, fbc: HKT2<F, B, C>): HKT2<F, A, D> }