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

feature-wish: Map.keys #3876

Closed
vicuna opened this issue Nov 19, 2005 · 1 comment
Closed

feature-wish: Map.keys #3876

vicuna opened this issue Nov 19, 2005 · 1 comment
Assignees

Comments

@vicuna
Copy link

vicuna commented Nov 19, 2005

Original bug ID: 3876
Reporter: anonymous
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2012-03-24T14:01:01Z)
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Child of: #2748

Bug description

a keys-function, which gives back all keys,
used in a Map.

@vicuna
Copy link
Author

vicuna commented May 25, 2010

Comment author: @alainfrisch

Rev 10468 introduces a function:

val bindings: 'a t -> (key * 'a) list

Composing this with (List.map fst) gives the expected behavior.

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

No branches or pull requests

2 participants