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: Hashtbl.keys #3877

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

feature-wish: Hashtbl.keys #3877

vicuna opened this issue Nov 19, 2005 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 19, 2005

Original bug ID: 3877
Reporter: anonymous
Status: closed (set by @mshinwell on 2016-12-06T21:47:14Z)
Resolution: duplicate
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #5952

Bug description

a keys-function, that gives back all keys of a Hashtbl.

@vicuna
Copy link
Author

vicuna commented Nov 20, 2005

Comment author: anonymous

I doubt internal representation will allow anything more efficient than

let hashtbl_keys h =
Hashtbl.fold (fun k v acc -> k :: acc) h []

on client's side...

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

1 participant