Closed eparejatobes closed 6 years ago
It looks like we could have something like
private[stuff] final class Function[X, Y] {
def apply(a: X): Y
}
and we would not need any λ { x => ... }
; we can directly assign a function literal
def id[X]: X -> X =
x => x
Looks to be working. Nice! I'll submit a PR later.
See