-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great so far! Do you mind if I give it a shot to finish this PR @1Jajen1?
|
||
fun <A> A.equalUnderTheLaw(b: A, eq: Eq<A>): Boolean = | ||
eq.run { eqv(b) } | ||
|
||
fun <A> A.shouldBeEq(b: A, eq: Eq<A>): Unit = this should matchUnderEq(eq, b) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't all this file belong in arrow-core-test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, had this here because I wanted to see if this even compiles before moving it
@@ -24,14 +25,14 @@ class FiberTest : UnitSpec() { | |||
|
|||
init { | |||
fun EQ(): Eq<FiberOf<ForIO, Int>> = object : Eq<FiberOf<ForIO, Int>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move these to arrow-fx-test
as well and unfix them to ForIO
?
Fine by me. This fails to compile for reasons I don't understand^^ Wanted to take a look at it this weekend, but if you want to try it go ahead :) |
This is continued in #90 |
Removes a bunch of duplicate code.
This fails building with gradle locally because it can't find the generators for some reason. Intellij fails to shows this as an error and I don't even understand why it'd fail^^
Edit: I also changed
arrow-fx-test
to be published the same way asarrow-core-test