lens-5.0.1: Lenses, Folds and Traversals
Copyright (C) 2012-16 Edward Kmett
License BSD-style (see the file LICENSE)
Maintainer Edward Kmett <ekmett@gmail.com>
Stability provisional
Portability non-portable
Safe Haskell Trustworthy
Language Haskell2010

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

Instances details
AsEmpty Ordering Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty () Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty Event Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty All Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty Any Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ByteString Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ByteString Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty IntSet Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty Text Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty Text Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty [a] Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( Maybe a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( ZipList a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( First a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( Last a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty a => AsEmpty ( Dual a) Source #
Instance details

Defined in Control.Lens.Empty

( Eq a, Num a) => AsEmpty ( Sum a) Source #
Instance details

Defined in Control.Lens.Empty

( Eq a, Num a) => AsEmpty ( Product a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( IntMap a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( Seq a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( Set a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( HashSet a) Source #
Instance details

Defined in Control.Lens.Empty

Unbox a => AsEmpty ( Vector a) Source #
Instance details

Defined in Control.Lens.Empty

Storable a => AsEmpty ( Vector a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( Vector a) Source #
Instance details

Defined in Control.Lens.Empty

( AsEmpty a, AsEmpty b) => AsEmpty (a, b) Source #
Instance details

Defined in Control.Lens.Empty

Methods

_Empty :: Prism' (a, b) () Source #

AsEmpty ( Map k a) Source #
Instance details

Defined in Control.Lens.Empty

AsEmpty ( HashMap k a) Source #
Instance details

Defined in Control.Lens.Empty

( AsEmpty a, AsEmpty b, AsEmpty c) => AsEmpty (a, b, c) Source #
Instance details

Defined in Control.Lens.Empty

Methods

_Empty :: Prism' (a, b, c) () Source #