Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Container xs a b where
- getContainer :: Container xs a b -> xs
Documentation
data Container xs a b where Source #
This type can wrap a monomorphic type to allow it to conform to
Foldable
. For instance, the wrapper for Text
would be
defined as:
type FoldableText =Container
Text
Char
Now, this type conforms to Foldable
.
getContainer :: Container xs a b -> xs Source #
Selector for Container