I understand Data.Map.Lazy and Data.Map.Strict are different. But what exactly are you importing when you import Data.Map: the strict one, the lazy one or a combination?
The lazy one. Looking at the docs the
module Data.Map.Lazy
means it's re-exporting all of the lazy stuff. It used to provide a few additional functions, but these are all deprecated in favor of Data.Foldable
and the strict version of Map
.
Edit: The second line of the documentation on the linked page states that it reexports the lazy version as well.
An efficient implementation of ordered maps from keys to values (dictionaries).
This module re-exports the value lazy Lazy API, plus several value strict functions from Strict.
The functions it mentions are all deprecated however.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With