Help | Examples | About | API | Blog | Hackage | Haskell
Concurrently search more than 4911 packages and more than 442752 functions! (Index generated: Mon, 22 Apr 2013 08:31:44 UTC )
Found 182 functions, 0 packages and 36 completions.
Data.Map.Lazy.map:: map
containers

O(n). Map a function over all values in the map.

 map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
Data.Map.Lazy.Lazy:: module
containers

An efficient implementation of ordered maps from keys to values (dictionaries).

API of this module is strict in the keys, but lazy in the values. If you need value-strict maps, use Data.Map.Strict instead. The Map type itself is shared between the lazy and strict modules, meaning that the same Map value can be passed to functions in both modules (although that is rarely needed).

These modules are intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.

  import qualified Data.Map.Lazy as Map

The implementation of Map is based on size balanced binary trees (or trees of bounded balance) as described by:

  • Stephen Adams, "Efficient sets: a balancing act", Journal of Functional Programming 3(4):553-562, October 1993, http://www.swiss.ai.mit.edu/~adams/BB/.
  • J. Nievergelt and E.M. Reingold, "Binary search trees of bounded balance", SIAM journal of computing 2(1), March 1973.

Note that the implementation is left-biased -- the elements of a first argument are always preferred to the second, for example in union or insert.

Operation comments contain the operation time complexity in the Big-O notation (http://en.wikipedia.org/wiki/Big_O_notation).

Source
Data.IntMap.Lazy.map:: map
containers

O(n). Map a function over all values in the map.

 map (++ "x") (fromList [(5,"a"), (3,"b")]) == fromList [(3, "bx"), (5, "ax")]
Data.ByteString.Lazy.map:: map
bytestring

O(n) map f xs is the ByteString obtained by applying f to each element of xs.

Data.Map.Lazy.Map:: data
containers

A Map from keys k to values a.

Source
Data.Text.Lazy.map:: map
text

O(n) map f t is the Text obtained by applying f to each element of t. Subject to fusion. Performs replacement on invalid scalar values.

Data.ByteString.Lazy.Char8.map:: map
bytestring

O(n) map f xs is the ByteString obtained by applying f to each element of xs

Data.HashMap.Lazy.map:: map
unordered-containers
No description.
Data.Map.Lazy.showTreeWith:: showTreeWith
containers
No description.
Data.ByteString.Lazy.concatMap:: concatMap
bytestring

Map a function over a ByteString and concatenate the results

Powered by Haskell, HXT, Snap, and
Please send any feedback to hayoo@holumbus.org