Skip to content

Simplify type signatures? #71

@martijnbastiaan

Description

@martijnbastiaan

E.g.:

traceSignal
  :: forall dom  a
   . ( KnownDomain dom
     , BitPack a
     , NFDataX a
     , Typeable a
     , Waveform a )
  => ..

Can be (AFAIK) reduced to:

traceSignal
  :: forall dom  a
   . ( KnownDomain dom
     , NFDataX a
     , Waveform a )
  => ..

Because

class (Typeable a, BitPack a) => Waveform a where 

I'm also wondering if it's worth adding BitPack to that list or to perhaps create a type alias.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions