superruzafa / visual-scala-reference

Visual Scala Reference
https://superruzafa.github.io/visual-scala-reference
269 stars 28 forks source link

Correct Function.unlift. #9

Closed exoego closed 5 years ago

exoego commented 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]

superruzafa commented 5 years ago

You're right. I swapped the terms. Thanks!