Portability | portable |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | Trustworthy |
Documentation
setmapped :: (Eq i, Hashable i, Eq j, Hashable j) => IndexPreservingSetter (HashSet i) (HashSet j) i jSource
setOf :: Hashable a => Getting (HashSet a) s a -> s -> HashSet aSource
Construct a set from a Getter
, Fold
, Traversal
, Lens
or Iso
.
setOf
::Hashable
a =>Getter
s a -> s ->HashSet
asetOf
:: (Eq
a,Hashable
a) =>Fold
s a -> s ->HashSet
asetOf
::Hashable
a =>Iso'
s a -> s ->HashSet
asetOf
::Hashable
a =>Lens'
s a -> s ->HashSet
asetOf
:: (Eq
a,Hashable
a) =>Traversal'
s a -> s ->HashSet
a