Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Empty
Documentation
class AsEmpty a where Source #
A type that may be empty.
If your type does not have a special empty value, just wrap it into Maybe
,
it is free.
Based on Control.Lens.Empty.AsEmpty.
Minimal complete definition