Skip to content

-> and <- aren't replaced with → and ← #81

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

Open
erikkaplun opened this issue Mar 23, 2015 · 1 comment
Open

-> and <- aren't replaced with → and ← #81

erikkaplun opened this issue Mar 23, 2015 · 1 comment

Comments

@erikkaplun
Copy link

If I've somehow missed how to turn it on in the configuration — I fully inspected the generated ~/.stylish-haskell.yaml to no avail — but it currently seems it's not possible to use stylish-haskell to convert -> and <- into and respectively.

In fact, there are more examples like this, such as <= and >= not being turned into and respectively — I'm aware these won't compile without the import Prelude.Unicode import but stylish-haskell could also add that in the imports section (and possibly warn if the Prelude.Unicode package isn't available).

All in all, is it possible to customize stylish-haskell to support all or any of the above? Could it even possibly be added to the tool itself so that the above conversions could be enabled with a configuration flag?

@langston-barrett
Copy link
Contributor

I am also experiencing this issue, with commit a7200f5. I'd love to see this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants