ide-backend-common-0.9.1: Shared library used be ide-backend and ide-backend-server

Safe HaskellNone
LanguageHaskell2010

IdeSession.Strict.IntMap

Description

Wrapper around Data.IntMap that guarantees elements are evaluated when the Map is. containers-0.5 provides this out of the box, but alas ghc 7.4 is built against containers-0.4.

Documentation

toList :: Strict IntMap v -> [(Int, v)] Source

adjust :: forall v. (v -> v) -> Int -> Strict IntMap v -> Strict IntMap v Source

insertWith :: (v -> v -> v) -> Int -> v -> Strict IntMap v -> Strict IntMap v Source

map :: (a -> b) -> Strict IntMap a -> Strict IntMap b Source