Copyright | (C) 2012-16 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
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
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