Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consolidate Laws with Group? #25

Open
chessai opened this issue Nov 12, 2019 · 0 comments
Open

consolidate Laws with Group? #25

chessai opened this issue Nov 12, 2019 · 0 comments

Comments

@chessai
Copy link
Collaborator

chessai commented Nov 12, 2019

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)
  } 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant