haskellfoundation / haskellfoundation/haskell-2010-revised-report
Disallow Unicode in numeric literals.
Open
feature: language report
- Dominant language
- Typst
- Stars
- 20
- Forks
- 5
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 6
Description
The Haskell report allows Unicode digits in numeric literals, but as documented in https://downloads.haskell.org/ghc/latest/docs/users_guide/bugs.html#lexical-syntax GHC disallows this. GHC only allows ASCII digits:
```
ascDigit → 0 | 1 | … | 9
decimal → ascDigit {ascDigit}
```
Contributor guide
Research direction
Read the linked GHC lexical-syntax note and locate the numeric-literal grammar in the revised report. Compare its treatment of digits with the ASCII-only rules quoted in the issue; done means the report no longer permits Unicode digits in numeric literals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100