Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Class for types that may be _Empty
.
Nothing
Instances
pattern Empty :: AsEmpty a => a #
Pattern synonym for matching on any type with an AsEmpty
instance.
>>>
case Nothing of { Empty -> True; _ -> False }
True
Orphan instances
AsEmpty ByteString Source # | |
_Empty :: Prism' ByteString () # | |
AsEmpty ByteString Source # | |
_Empty :: Prism' ByteString () # | |
AsEmpty Text Source # | |
AsEmpty Text Source # | |
AsEmpty (HashSet a) Source # | |
Unbox a => AsEmpty (Vector a) Source # | |
Storable a => AsEmpty (Vector a) Source # | |
AsEmpty (Vector a) Source # | |
AsEmpty (HashMap k a) Source # | |