maps created by Data.Map.fromAscList fail lookup on some keys present
import Data.Map
member "foo" $ fromAscList [("foo", True), ("bar", False)]
The above expression evaluates to False, when it should clearly be True. This works fine when fromList is used instead.
Tested on 6.8.2, but I don't see anything in the release notes vaguely related for 6.8.3.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |