Skip to content
New issue

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

Map.map and Map.mapi do not conform to specification #4012

Closed
vicuna opened this issue Apr 27, 2006 · 2 comments
Closed

Map.map and Map.mapi do not conform to specification #4012

vicuna opened this issue Apr 27, 2006 · 2 comments
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 27, 2006

Original bug ID: 4012
Reporter: @mmottl
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2012-03-24T14:01:02Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.09.2
Category: ~DO NOT USE (was: OCaml general)
Monitored by: Ashish_Agarwal @hcarty @Chris00 @mmottl

Bug description

Due to right-left evaluation order the functions "map" and "mapi" in the Map-module do not conform to their specification, i.e. the bindings are passed in reverse order.

File attachments

@vicuna
Copy link
Author

vicuna commented Oct 19, 2009

Comment author: ecc

I've attached a patch for this issue.

@vicuna
Copy link
Author

vicuna commented May 25, 2010

Comment author: @alainfrisch

Thanks for the bug report. Fixed in the trunk (rev 10465).

I hope the fix will not break existing code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants