planet-mitchell-0.0.0: Planet Mitchell

Safe HaskellSafe
LanguageHaskell2010

Set.Hash

Contents

Synopsis

HashSet

Optics

setOf :: Hashable a => Getting (HashSet a) s a -> s -> HashSet a #

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

setOf :: Hashable a         => Getter s a     -> s -> HashSet a
setOf :: (Eq a, Hashable a) => Fold s a       -> s -> HashSet a
setOf :: Hashable a         => Iso' s a       -> s -> HashSet a
setOf :: Hashable a         => Lens' s a      -> s -> HashSet a
setOf :: (Eq a, Hashable a) => Traversal' s a -> s -> HashSet a