Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class KnownNat (PSize f) => ProductSize (f :: * -> *) where
- productSize :: forall f. KnownNat (PSize f) => Proxy# f -> Int
Documentation
class KnownNat (PSize f) => ProductSize (f :: * -> *) Source #
type class for calculating product size.
Instances
(KnownNat (PSize a + PSize b), ProductSize a, ProductSize b) => ProductSize (a :*: b) Source # | |
ProductSize (S1 s a) Source # | |