ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

UniqDSet (signature[?])

Contents

Description

Specialised deterministic sets, for things with Uniques

Based on UniqDFMs (as you would expect). See Note [Deterministic UniqFM] in UniqDFM for explanation why we need it.

Basically, the things need to be in class Uniquable.

Synopsis

Unique set type

Manipulating these sets

foldUniqDSet :: (a -> b -> b) -> b -> UniqDSet a -> b Source #