You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to Scala version 2.10.2 (JavaHotSpot(TM) 64-BitServerVM, Java1.7.0_25).
Type in expressions to have them evaluated.
Type:help for more information.
scala>importscalaz._,Scalaz._importscalaz._importScalaz._
scala>Option(1).fold(identity, 0)
<console>:14:error: too many arguments for method fold: (ifEmpty: =>B)(f: Int=>B)BOption(1).fold(identity, 0)
^
@deprecated("use option.cata or option.some(f).none(default)", "7.1.0") and remove?
The text was updated successfully, but these errors were encountered:
https://github.com/scala/scala/blob/v2.10.2/src/library/scala/Option.scala#L147-L157
@deprecated("use option.cata or option.some(f).none(default)", "7.1.0")
and remove?The text was updated successfully, but these errors were encountered: