Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.Read
Open
- Dominant language
- Haskell
- Stars
- 421
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
`Data.Text.Read` and `Data.Text.Lazy.Read` define
```haskell
decimal :: Integral a => Reader a
hexadecimal :: Integral a => Reader a
```
I don't see a reason why they require `Integral a`, where `Num a` should suffice. I think it would be better to relax the constraint.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.