Skip to content

consolidate Laws with Group? #25

@chessai

Description

@chessai

These are a bit different, since the intention of Group is more general, whereas Laws is meant to indicate just a test involving a typeclass law(s).

Here are their respective definitions:

data Group = Group
  { groupName :: GroupName
  , groupProperties :: [(PropertyName, Property)]
  }

data Laws = Laws
  { lawsTypeClass :: String
  , lawsProperties :: [(String, Property)] -- ^ (law name, property)
  } 

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