Report question

Question: How to convert X => Option[R] to PartialFunction[X,R]