Skip to content

Release 2.0

Compare
Choose a tag to compare
@magicmonty magicmonty released this 07 Sep 19:27
· 37 commits to master since this release
  • Adds Either type
  • Adds Result type
  • Renames IsSome to HasValue and IsNone to HasNoValue as they fit better the intention
  • Renames Option.Else to Option.Unless
  • new Extension methods for IEnumerable:
    • Option<T> FirstOrNone<T>(this IEnumerable<T>)
    • Option<T> LastOrNone<T>(this IEnumerable<T>)
  • Extension method IEnumerable<T>.OptionValues() is now null safe