extended-containers-lens-0.1.0.0: lens instances for extended-containers

Safe HaskellNone
LanguageHaskell2010

Data.Heap.Lens

Contents

Synopsis

Documentation

heapOf :: Getting (Heap a) s a -> s -> Heap a Source #

Construct a Heap from a Getter, Fold, Traversal, Lens or Iso.

Orphan instances

Ord a => Wrapped (Heap a) Source # 
Instance details

Associated Types

type Unwrapped (Heap a) :: Type #

Methods

_Wrapped' :: Iso' (Heap a) (Unwrapped (Heap a)) #

AsEmpty (Heap a) Source # 
Instance details

Methods

_Empty :: Prism' (Heap a) () #

(t ~ Heap a', Ord a) => Rewrapped (Heap a) t Source #

Use wrapping fromList. Unwrapping returns some permutation of the list.

Instance details