Closed vquintin closed 5 years ago
Merging #224 into master will increase coverage by
0.11%
. The diff coverage is79.06%
.
@@ Coverage Diff @@
## master #224 +/- ##
==========================================
+ Coverage 76.4% 76.52% +0.11%
==========================================
Files 42 45 +3
Lines 958 1001 +43
Branches 45 50 +5
==========================================
+ Hits 732 766 +34
- Misses 226 235 +9
Impacted Files | Coverage Δ | |
---|---|---|
core/src/main/scala/algebra/lattice/Heyting.scala | 14.28% <ø> (ø) |
:arrow_up: |
...aws/src/main/scala/algebra/laws/DeMorganLaws.scala | 100% <100%> (ø) |
|
core/src/main/scala/algebra/lattice/Logic.scala | 50% <50%> (ø) |
|
core/src/main/scala/algebra/lattice/DeMorgan.scala | 88.88% <88.88%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 88bf270...749554b. Read the comment docs.
This would be a binary-breaking change and requires a 1.x release.
Cats team, where are we with the incorporation of algebra into cats? @kailuowang @lukajcb
@larsrh sorry for the late reply. I think we are all on board in terms of moving it in. If anyone has time to make the PR I think we can make it happen in the next release, or the one after.
@kailuowang OK, so I'd say we merge this in here regardless. Porting to Cats can happen at a later time.
In terms of merging Cats, I think we still haven't decided how exactly we want to do that, if we want to have a new module vs. merging it into cats-core
or cats-kernel
. Though maybe it is best to just have a new module and then atleast have it in the same repo.
Blocked by #225. If we want this to be binary compatible, we should enforce it.
@vquintin I've merged in #224 and pushed to your branch to enable MiMa checking.
@johnynek Are we good to merge this?
1.0.2 release containing this change and 2.13.0-RC1 compatibility forthcoming.
Add
DeMorgan
typeclass for fuzzy logicBool
extendsDeMorgan
Extract trait
Logic
common to bothDeMorgan
andHeyting
Add laws for
DeMorgan
The motivation of this PR is to fix the invalid
Heyting
instance forTrilean
in spire. Trilean is aDeMorgan
, not aHeyting
(it does not satisfy the law of non contradiction).