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

OCamldoc could produce nice mathematical symbols #5857

Closed
vicuna opened this issue Dec 17, 2012 · 3 comments
Closed

OCamldoc could produce nice mathematical symbols #5857

vicuna opened this issue Dec 17, 2012 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Dec 17, 2012

Original bug ID: 5857
Reporter: meyer
Assigned to: @zoggy
Status: assigned (set by meyer on 2012-12-17T22:49:14Z)
Resolution: open
Priority: normal
Severity: feature
Category: ocamldoc

Bug description

It would be nice to see unicode greek letters as type variables and unicode arrows in type definitions. For example enable in Emacs and tuareg mode:

(setq tuareg-font-lock-symbols t)

@dbuenzli
Copy link
Contributor

This is not a good idea as it would break cut and paste from ocamldoc output to your editor. I would move on to close this.

@trefis
Copy link
Contributor

trefis commented Mar 18, 2019

I wonder if, at least for the html backend, there wouldn't be some (CSS ? JS ? Whatever ?) magic to make the text that is copied different from what you actually see in the browser. (Actually, I can't see how such an obviously useful feature couldn't exist)

But I agree it's a bad idea in general, also I'm not sure anyone's really looking into adding new features to ocamldoc nowadays. So indeed, let's close.

@trefis trefis closed this as completed Mar 18, 2019
@Drup
Copy link
Contributor

Drup commented Mar 18, 2019

@trefis Well, another way to do this is to play (arguably silly) games with ligatures.

Personally, I think this is pointless. We already are accustomed to the signatures without any of those fancy chars, the readability improvements will be negligible or non-existent.

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

4 participants