Let's say I have this:
val myAnon:(Option[String],String)=>String = (a:Option[String],defVal:String) => { a.getOrElse(defVal) }
Don't mind what the function does. Is there anyway of making it generic, so I can have an Option[T]?