License | BSD3 |
---|---|
Maintainer | Brent Yorgey <byorgey@cis.upenn.edu> |
Stability | experimental |
Portability | non-portable (see .cabal) |
Safe Haskell | None |
Language | Haskell2010 |
Data.Pattern.Base.Tuple
Description
Various types defined inductively as type families or data families on type-lists.
Functions
Curried functions. We have
Fun '[x1, ..., xn] r = x1 -> ... -> xn -> r
Tuples
Mapping and distributing over tuples
class Distribute xs where Source
Instances
Distribute ([] *) | |
(Uncurriable t, Tupable t, Distribute t) => Distribute ((:) * h t) |