Example #1
0
 public static Either <TLeft, sbyte> ParseToSbyte <TLeft>(
     this Either <TLeft, string> source,
     NumberStyles style,
     TLeft left)
 {
     return(source.FlatMap(x => SbyteParser.Parse <TLeft>(x, style, left)));
 }
Example #2
0
 public static Either <TLeft, sbyte> ParseToSbyte <TLeft>(
     this Either <TLeft, string> source,
     IFormatProvider provider,
     TLeft left)
 {
     return(source.FlatMap(x => SbyteParser.Parse <TLeft>(x, provider, left)));
 }
Example #3
0
 public static Either <TLeft, sbyte> ParseToSbyte <TLeft>(
     this string source,
     NumberStyles style,
     IFormatProvider provider,
     TLeft left)
 {
     return(SbyteParser.Parse <TLeft>(source, style, provider, left));
 }
Example #4
0
 public static Either <TLeft, sbyte> ParseToSbyte <TLeft>(this string source, TLeft left)
 {
     return(SbyteParser.Parse(source, left));
 }
Example #5
0
 public static Maybe <sbyte> ParseToSbyte(this string source)
 {
     return(SbyteParser.Parse(source));
 }
Example #6
0
 public static Maybe <sbyte> ParseToSbyte(this Maybe <string> source, NumberStyles style, IFormatProvider provider)
 {
     return(source.FlatMap(x => SbyteParser.Parse(x, style, provider)));
 }
Example #7
0
 public static Maybe <sbyte> ParseToSbyte(this Maybe <string> source, NumberStyles style)
 {
     return(source.FlatMap(x => SbyteParser.Parse(x, style)));
 }
Example #8
0
 public static Maybe <sbyte> ParseToSbyte(this string source, NumberStyles style, IFormatProvider provider)
 {
     return(SbyteParser.Parse(source, style, provider));
 }
Example #9
0
 public static Maybe <sbyte> ParseToSbyte(this string source, NumberStyles style)
 {
     return(SbyteParser.Parse(source, style));
 }