| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.MonoTraversable.Container
Description
- 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 =ContainerTextChar
Now, this type conforms to Foldable.
getContainer :: Container xs a b -> xs Source #
Selector for Container