Gavin Ray
01/01/2022, 7:23 PMarrow-meta
there is a plugin which provides a macro called @Given()
From the tests, it seems to be roughly identical to Scala 3's given
+ using
where you say "This function requires some type Foo
to have a value provided in the context/scope"
Is this sort of like an implementation of the Multiple Receivers proposal as a compiler plugin?
https://github.com/arrow-kt/arrow-meta/blob/8f9e80bfbbcb12c16f025bc5ca7d69cbeeec08[…]gin/src/test/kotlin/arrow/meta/plugins/typeclasses/GivenTest.ktGavin Ray
01/03/2022, 1:26 AM