5 packages returned for Tags:"option-type"

May: A functional C# option type
  • 21,927 total downloads
  • last updated 11/29/2012
  • Latest version: 1.0.2
  • may option type maybe
Implements an option type (Strilanc.Value.May<T>) that encourages usage based on pattern matching rather than ForceGetValue. Also includes utility methods for producing, consuming and transforming May<T>. Note on null: May<T> treats null like any other value. May.NoValue is distinct from null, and... More information
Add an Option type to C#
  • 339 total downloads
  • last updated 4/27/2016
  • Latest version: 1.0.0.37289
  • Option type
Add an Option type like F#'s Option to create a non-nullable reference type.
  • 357 total downloads
  • last updated 2/20/2017
  • Latest version: 1.0.0
  • option type maybe
Maybe<T> is a simplistic implementation of an option type, much like Optional in Java.