simulacrum
simulacrum copied to clipboard
Generate Ops for operations where instance type is in a function.
It would be great if a definition like
@typeclass Foo[A] {
def foo(i: Int): A => String
}
generated an Ops member like
def foo(i: Int): String = typeclassInstance.foo(i)(self)