We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateMax, updateMaxWithKey, updateMin, updateMinWithKey for lazy and strict IntMap do not agree with Map.
updateMax
updateMaxWithKey
updateMin
updateMinWithKey
IntMap errors on an empty map:
containers/containers/src/Data/IntMap/Internal.hs
Lines 2180 to 2189 in 7e7ce15
Map simply returns the empty map:
containers/containers/src/Data/Map/Internal.hs
Lines 1744 to 1749 in 7e7ce15
The better option is that IntMap also returns an empty map.
Historical note: The Map behavior has been so since it was added in bbbba97. updateMax and friends for IntMap were added a bit later in 1a2cf0f.
The text was updated successfully, but these errors were encountered:
Discovered when writing IntMap strictness tests for #1019
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
updateMax
,updateMaxWithKey
,updateMin
,updateMinWithKey
for lazy and strict IntMap do not agree with Map.IntMap errors on an empty map:
containers/containers/src/Data/IntMap/Internal.hs
Lines 2180 to 2189 in 7e7ce15
Map simply returns the empty map:
containers/containers/src/Data/Map/Internal.hs
Lines 1744 to 1749 in 7e7ce15
The better option is that IntMap also returns an empty map.
Historical note: The Map behavior has been so since it was added in bbbba97.
updateMax
and friends for IntMap were added a bit later in 1a2cf0f.The text was updated successfully, but these errors were encountered: