Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006458OCamlstandard librarypublic2014-06-16 18:222014-07-16 16:11
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
PlatformOSOS Version
Product Version4.02.0+beta1 / +rc1 
Target VersionFixed in Version 
Summary0006458: Cleanup camlinternalFormat
DescriptionThis module does not seem as "internal" as other camlinternalModules. In particular, the make_printf function and the acc type could very well, and quite simply, be used in client code. Actually, I don't think the compiler generate references to this module.

It seems its interface could be cleaned up quite a bit. All char_set related functions seem to be used purely internally. heter_list could go to scanf.

What about renaming the module to Format_strings, and drop its "internal" status?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
doligez (administrator)
2014-07-16 11:10

What is "internal" about this module is that it is subject to change without notice and without much consideration of backward compatibility. What you are asking for is legitimate but it has a cost in terms of maintenance burden.

I think we should at least wait until the module has become quite stable.
frisch (developer)
2014-07-16 13:12

I'm certainly not asking for any compatibility guarantee, but I see a difference between internal (==> to be used by the compiler/stdlib only) and likely to change in the future (==> there are legitimate uses, but use at your own risk).

- Issue History
Date Modified Username Field Change
2014-06-16 18:22 frisch New Issue
2014-07-16 11:10 doligez Note Added: 0011837
2014-07-16 11:10 doligez Severity minor => feature
2014-07-16 11:10 doligez Status new => feedback
2014-07-16 13:12 frisch Note Added: 0011839
2014-07-16 13:12 frisch Status feedback => new
2014-07-16 16:11 doligez Status new => feedback
2014-07-16 16:11 doligez Product Version => 4.02.0+beta1 / +rc1
2017-02-23 16:43 doligez Category OCaml standard library => standard library

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker