map -package:Cabal -package:base -package:text -is:exact -package:containers -package:bytestring -package:base-compat is:module

Instances to convert between Map and association list. Copyright (C) 2009-2011 John Goerzen All rights reserved. For license and copyright information, see the file LICENSE
Strict Map. Import as:
import qualified RIO.Map as Map
This module does not export any partial or unchecked functions. For those, see RIO.Map.Partial and RIO.Map.Unchecked
Map type used to represent records and unions
Contains implementation of polymorphic type classes for data types Set and Map.
Bijections via strict maps.
Utilities for mapping or transforming Exprs.
A non-blocking concurrent map from hashable keys to values. The implementation is based on lock-free concurrent hash tries (aka Ctries) as described by:
  • Aleksander Prokopec, Phil Bagwell, Martin Odersky, "Cache-Aware Lock-Free Concurent Hash Tries"
  • Aleksander Prokopec, Nathan G. Bronson, Phil Bagwell, Martin Odersky "Concurrent Tries with Efficient Non-Blocking Snapshots"
Operations have a worst-case complexity of O(log n), with a base equal to the size of the native Word.
A slightly less trivial implementation of range sets. This is nearly identical to Data.RangeSet.List except for some important performance differences:
  • Most query functions in this module are O(log n) rather than O(n), so may be much faster.
  • Most composition functions have the same time complexity but a higher constant, so may be somewhat slower.
If you're mainly calling member, you should consider using this module, but if you're calling union, deleteRange, and other range manipulation functions as often as querying, you might stick with the list implementation. This module is intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.
import Data.RangeSet.Map (RSet)
import qualified Data.RangeSet.Map as RSet
The implementation of RSet is based on Data.Map.Strict.
Maps that handle pairs of amplitudes and sampled values. They are a special form of arrows.