Skip to content

Use prettify-symbols-mode #529

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

Closed
gracjan opened this issue Mar 18, 2015 · 1 comment
Closed

Use prettify-symbols-mode #529

gracjan opened this issue Mar 18, 2015 · 1 comment

Comments

@gracjan
Copy link
Contributor

gracjan commented Mar 18, 2015

Use prettify-symbols-mode instead of hand crafted unicode composition.

@gracjan
Copy link
Contributor Author

gracjan commented Apr 8, 2015

Can't use this due to the following reasons:

  • prettify-symbols-mode works well on identifiers (\\_ and \\w) only as it puts \\_< and \\_> kind of boundary
  • the above renders it pretty useless for operators that have punctuation character class
  • it can compose part of operator only
  • dot is heavily overloaded in Haskell as it can be: 1) composition, 2) part of other operator, 3) module selector, 4) dot after forall keyword

So we need to keep using our handcrafted version. That is ok as it opens possibilities for improvements.

@gracjan gracjan closed this as completed Apr 8, 2015
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