We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ce665 commit bc43e72Copy full SHA for bc43e72
SwiftzTests/ResultSpec.swift
@@ -79,7 +79,7 @@ class ResultSpec : XCTestCase {
79
}
80
81
property["Result obeys the Functor composition law"] = forAll { (f : ArrowOf<Int, Int>, g : ArrowOf<Int, Int>, x : ResultOf<Int>) in
82
- return ((f.getArrow • g.getArrow) <^> x.getResult) == (g.getArrow <^> (f.getArrow <^> x.getResult))
+ return ((f.getArrow • g.getArrow) <^> x.getResult) == (f.getArrow <^> (g.getArrow <^> x.getResult))
83
84
85
property["Result obeys the Applicative identity law"] = forAll { (x : ResultOf<Int>) in
0 commit comments