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

Re: labels left in Format.[pp_]set_all_formatter_output_functions (PR#826) #3172

Closed
vicuna opened this issue Jan 28, 2002 · 0 comments
Closed
Labels

Comments

@vicuna
Copy link

vicuna commented Jan 28, 2002

Original bug ID: 837
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

From: tews@tcs.inf.tu-dresden.de

the realease notes say

and the standard library modules are now not labeled, instead
labeled versions of some of these modules are provided.

but then I find

val set_all_formatter_output_functions :
out:(string -> int -> int -> unit) -> flush:(unit -> unit) ->
newline:(unit -> unit) -> spaces:(int -> unit) -> unit

val pp_set_all_formatter_output_functions :
formatter -> out:(string -> int -> int -> unit) -> flush:(unit -> unit) ->
newline:(unit -> unit) -> spaces:(int -> unit) -> unit

in format.mli.

These left-over are intentional. This is typically a case were labels
can avoid errors, and (thanks to the new labeling rules) leaving
labels would not break existing programs. It just appeared to be the
only case so clear-cut.

Did it break anything in your code ?

Jacques Garrigue

@vicuna vicuna closed this as completed Feb 1, 2002
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant