Skip to content

errorTypeName method has sensible default implementation #64

@parsonsmatt

Description

@parsonsmatt

Using DefaultSignatures, the errorTypeName method could easily be given the implementation:

    default errorTypeName :: (Typeable a) => Proxy a -> String
    errorTypeName prxy = show (typeRep prxy)

Since all types are Typeable in recent GHC, this would be trivially satisfiable for all types.

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