| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Optics.Empty
Contents
Description
Documentation
Class for types that may be _Empty.
Minimal complete definition
Nothing
Instances
pattern Empty :: forall a. 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 # | |
Methods _Empty :: Prism' ByteString () # | |
| AsEmpty ByteString Source # | |
Methods _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 # | |