haskell / haskell/stylish-haskell

UnicodeSyntax

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

GHC has [an extension called UnicodeSyntax](http://www.haskell.org/ghc/docs/7.2.1/html/users_guide/syntax-extns.html) that lets you use unicode symbols for various keywords in the Haskell syntax. It would be nice if I could automatically UnicodeSyntaxify code. This would involve adding the extension at the top of the module if not already there, and replacing all replaceable symbols with their unicode counterparts.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked GHC UnicodeSyntax documentation first to enumerate the supported keyword and symbol replacements. Then locate stylish-haskell’s formatting entry points and determine how to add the extension only when needed; done means Haskell code is consistently converted to UnicodeSyntax form without changing unrelated syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.