Xuc Xiem
List<A>
List<B>
f: (A, B) -> Boolean
listA
listB
f(a, b)
listA.forEach { a -> listB .filter { f(a, it) } .shouldBeSingleton() }
a
sam
listA.forEach { a -> listB.forOne { b -> f(a, b) shouldBe true } }
A modern programming language that makes developers happier.