Skip to content

Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.Read #698

Description

@Bodigrim

Data.Text.Read and Data.Text.Lazy.Read define

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions