autoproof-0.0.0.0: Propositional logic library
Copyright(c) Artem Mavrin 2021
LicenseBSD3
Maintainerartemvmavrin@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

AutoProof.Internal.Utils.MapUtils

Description

Miscellaneous map-related functions.

Synopsis

Documentation

toMap :: (Ord k, Foldable t) => t (k, v) -> Map k v Source #

Convert a foldable collection of (key, value) pairs into a map.

>>> set = Set.fromList [("a", 0), ("b", 1)]
>>> toMap set
fromList [("a",0),("b",1)]