How do I test equality of two task results?
Say I have two tasks
t1
andt2
. I would like to test whether the two tasks produced the same results. Current I implement it as a specialEq(_,_)
task:perform-task(|nr): Eq(r, r) -> r task-is-combinator = ?Eq(_, _) task-create-eq(|ctx): (r1, r2) -> <new-task(|ctx)> Eq(r1, r2)
Is there a better way to do this?
Asked by Vlad Vergu on 5 December 2013 at 00:39