Skip to content

Commit

Permalink
Merge pull request #1720 from typelevel/fix-334
Browse files Browse the repository at this point in the history
 type classes with only defined laws to guideline
  • Loading branch information
ceedubs authored Jan 8, 2018
2 parents 623e81e + fd21cba commit 3774a19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/main/tut/guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,11 @@ abstract class KleisliInstance1 {
}
```

### Type classes that ONLY define laws.

We can introduce new type classes for the sake of adding laws that don't apply to the parent type class, e.g. `CommutativeSemigroup` and
`CommutativeArrow`.

#### TODO:

Once we drop 2.10 support, AnyVal-extending class constructor parameters can be marked as private.

0 comments on commit 3774a19

Please sign in to comment.