Copyright | (C) 2012-15 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Trustworthy |
Language | Haskell98 |
- setmapped :: (Eq j, Hashable j) => IndexPreservingSetter (HashSet i) (HashSet j) i j
- setOf :: Hashable a => Getting (HashSet a) s a -> s -> HashSet a
Documentation
setmapped :: (Eq j, Hashable j) => IndexPreservingSetter (HashSet i) (HashSet j) i j Source
setOf :: Hashable a => Getting (HashSet a) s a -> s -> HashSet a Source
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