Copyright | (c) 2011 Patrick Bahr Tom Hvitved |
---|---|
License | BSD3 |
Maintainer | Tom Hvitved <hvitved@diku.dk> |
Stability | experimental |
Portability | non-portable (GHC Extensions) |
Safe Haskell | Safe |
Language | Haskell98 |
Data.Comp.Param.Difunctor
Contents
Description
This module defines difunctors (Meijer, Hutton, FPCA '95), i.e. binary type constructors that are contravariant in the first argument and covariant in the second argument.
Documentation
class Difunctor f where Source #
This class represents difunctors, i.e. binary type constructors that are contravariant in the first argument and covariant in the second argument.
Minimal complete definition