Closed exoego closed 5 years ago
I think Function.unlift description confuses "this function" and "the returned anonymous partial function". Ref. https://www.scala-lang.org/api/2.13.0/scala/Function$.html#unlift[T,R](f:T=%3EOption[R]):PartialFunction[T,R]
Function.unlift
You're right. I swapped the terms. Thanks!
I think
Function.unlift
description confuses "this function" and "the returned anonymous partial function". Ref. https://www.scala-lang.org/api/2.13.0/scala/Function$.html#unlift[T,R](f:T=%3EOption[R]):PartialFunction[T,R]