Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Web.Hyperbole.TypeList
Documentation
type family ElemOr e es err :: Constraint where ... Source #
type family AllElemOr xs ys err :: Constraint where ... Source #
type NotElem x (orig :: [Type]) = TypeError (('ShowType x ':<>: 'Text " not found in ") ':<>: 'ShowType orig) Source #
type family TupleList a where ... Source #
Equations
TupleList () = '[] | |
TupleList (a, b) = [a, b] | |
TupleList (a, b, c) = [a, b, c] | |
TupleList (a, b, c, d) = [a, b, c, d] | |
TupleList (a, b, c, d, e) = [a, b, c, d, e] | |
TupleList (a, b, c, d, e, f) = [a, b, c, d, e, f] | |
TupleList (a, b, c, d, e, f, g) = [a, b, c, d, e, f, g] | |
TupleList (a, b, c, d, e, f, g, h) = [a, b, c, d, e, f, g, h] | |
TupleList (a, b, c, d, e, f, g, h, i) = [a, b, c, d, e, f, g, h, i] | |
TupleList (a, b, c, d, e, f, g, h, i, j) = [a, b, c, d, e, f, g, h, i, j] | |
TupleList a = '[a] |