lens-4.1.2.1: Lenses, Folds and Traversals

Copyright(C) 2012-14 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell98

Control.Lens.Empty

Description

 

Documentation

class AsEmpty a where Source

Minimal complete definition

Nothing

Methods

_Empty :: Prism' a () Source

>>> isn't _Empty [1,2,3]
True

Instances

AsEmpty Ordering 
AsEmpty () 
AsEmpty ByteString 
AsEmpty ByteString 
AsEmpty Text 
AsEmpty Event 
AsEmpty All 
AsEmpty Any 
AsEmpty IntSet 
AsEmpty Text 
AsEmpty [a] 
AsEmpty (Maybe a) 
AsEmpty a => AsEmpty (Dual a) 
(Eq a, Num a) => AsEmpty (Sum a) 
(Eq a, Num a) => AsEmpty (Product a) 
AsEmpty (First a) 
AsEmpty (Last a) 
AsEmpty (IntMap a) 
AsEmpty (Set a) 
AsEmpty (Seq a) 
AsEmpty (HashSet a) 
AsEmpty (Vector a) 
Storable a => AsEmpty (Vector a) 
Unbox a => AsEmpty (Vector a) 
(AsEmpty a, AsEmpty b) => AsEmpty (a, b) 
AsEmpty (HashMap k a) 
AsEmpty (Map k a) 
(AsEmpty a, AsEmpty b, AsEmpty c) => AsEmpty (a, b, c)