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

Suggest printf "%z" for exceptions #3276

Closed
vicuna opened this issue Nov 16, 2004 · 1 comment
Closed

Suggest printf "%z" for exceptions #3276

vicuna opened this issue Nov 16, 2004 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Nov 16, 2004

Original bug ID: 3276
Reporter: administrator
Status: closed (set by @mshinwell on 2016-12-06T21:15:24Z)
Resolution: won't fix
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Berke Durak
Version: 3.08.1
OS: Debian
Submission from: congruence.net1.nerim.net (213.41.151.68)

Hello,

Wouldn't it save a few bytes if one could just write
try ... with z -> Printf.printf "Error: %z.\n" z
instead of
try ... with z -> Printf.printf "Error: %s.\n" (Printexc.to_string z) ?

@vicuna
Copy link
Author

vicuna commented Dec 6, 2016

Comment author: @mshinwell

I think this is unlikely to gain the necessary support required to be fixed.

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