Skip to content

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

@Bodigrim

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.

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