Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004737OCamlstandard librarypublic2009-03-03 15:382017-03-07 13:11
ReporterChristoph Bauer 
Assigned Tofrisch 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionsuspended 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version 
Summary0004737: Queue: to_list and rev_iter
Descriptionit would be nice to have a Queue.to_list and a Queue.rev_iter function!
Tagspatch
Attached Filespatch file icon new_queue_functions.patch [^] (1,999 bytes) 2013-07-30 12:48 [Show Content]

- Relationships

-  Notes
(0017584)
frisch (developer)
2017-03-07 13:11

I'm suspending this PR, since there has been no activity for years.

FWIW, I personally think that Queue.to_list would be a nice addition, but it can already be defined as a one-liner by the user code (it does not benefit from having access to the internal representation) and the case for such addition is usually harder.

If someone wants to push one of these proposals (or both), feel free to open a GitHub PR, also mentioning a few examples of typical use cases (and be prepared to write some unit tests if the proposal is well received).

- Issue History
Date Modified Username Field Change
2009-03-03 15:38 Christoph Bauer New Issue
2009-04-29 15:37 doligez Status new => acknowledged
2013-07-30 12:48 gian File Added: new_queue_functions.patch
2013-09-04 18:10 doligez Tag Attached: patch
2016-12-07 14:43 shinwell Category OCaml general => OCaml standard library
2017-02-23 16:43 doligez Category OCaml standard library => standard library
2017-03-07 13:11 frisch Note Added: 0017584
2017-03-07 13:11 frisch Status acknowledged => resolved
2017-03-07 13:11 frisch Resolution open => suspended
2017-03-07 13:11 frisch Assigned To => frisch


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker