Data.Empty
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.
Maybe
Based on Control.Lens.Empty.AsEmpty.
Minimal complete definition
empty
Methods
empty :: a Source #
isEmpty :: a -> Bool Source #
default isEmpty :: Eq a => a -> Bool Source #
isNotEmpty :: a -> Bool Source #
default isNotEmpty :: Eq a => a -> Bool Source #
Defined in Data.Empty
empty :: Char Source #
isEmpty :: Char -> Bool Source #
isNotEmpty :: Char -> Bool Source #
empty :: Maybe a Source #
isEmpty :: Maybe a -> Bool Source #
isNotEmpty :: Maybe a -> Bool Source #