Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 41d1238e50
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (40 sloc) 1.061 kb
{-# LANGUAGE TypeFamilies #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.EnumMapSet
-- Copyright : (c) Daan Leijen 2002
-- (c) Joachim Breitner 2011
-- (c) Matthew West 2012
-- License : BSD-style
-- Stability : experimental
-- Portability : Uses GHC extensions
--
-- Based on Data.IntSet.hs
--
-----------------------------------------------------------------------------
module Data.EnumMapSet (
EnumMapSet,
S(..), (:&)(..),
-- * Query
EMS.null,
size,
member,
-- * Construction
empty,
singleton,
insert,
delete,
-- * Combine
union,
difference,
intersection,
-- * Map
EMS.map,
-- * Folds
EMS.foldr,
-- * Lists
toList,
fromList,
keys
) where
import Data.EnumMapSet.Base as EMS
Jump to Line
Something went wrong with that request. Please try again.