lens-4.13: Lenses, Folds and Traversals

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

Control.Lens.Empty

Description

 

Documentation

class AsEmpty a where

Minimal complete definition

Nothing

Methods

_Empty :: Prism' a ()

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

pattern Empty :: () => AsEmpty s => s