Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004612OCaml~DO NOT USE (was: OCaml general)public2008-09-10 15:322016-12-07 18:30
Assigned To 
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version3.10.2 
Target VersionFixed in Version 
Summary0004612: lack of break/continue in loop constructs.
DescriptionOccasionally, during the process of incremental development it becomes apparent that a break/continue statement is just what is needed. The alternative is to refactor to a recursive style, but this is not always desirable when it causes additional work or when copying an algorithm out of a recipe book.
Additional InformationPlease investigate Sanghyeon Seo's patch from the Caml list for possible inclusion. Break and continue are desireable only if they can be implemented without overhead.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
shinwell (developer)
2016-12-07 18:30

If you must, these can be implemented using exceptions. I doubt there would be sufficient support for adding these as keywords in the language.

- Issue History
Date Modified Username Field Change
2008-09-10 15:32 ais New Issue
2008-09-23 20:19 doligez Status new => acknowledged
2016-12-07 18:30 shinwell Note Added: 0016786
2016-12-07 18:30 shinwell Status acknowledged => closed
2016-12-07 18:30 shinwell Resolution open => won't fix
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker