fresnel-0.1.0.0: high-powered optics in a small package
Safe HaskellNone
LanguageHaskell2010

Fresnel.List.NonEmpty

Contents

Synopsis

Optics

nonEmpty_ :: forall a b p. IsIso p => Optic p [a] [b] (Maybe (NonEmpty a)) (Maybe (NonEmpty b)) Source #

uncons_ :: forall a b p. IsIso p => Optic p (NonEmpty a) (NonEmpty b) (a, Maybe (NonEmpty a)) (b, Maybe (NonEmpty b)) Source #

head_ :: forall a p. IsLens p => Optic p (NonEmpty a) (NonEmpty a) a a Source #

tail_ :: forall a p. IsLens p => Optic p (NonEmpty a) (NonEmpty a) [a] [a] Source #