public static Arr <A> ToArray <A>(this Try <A> self) =>
 toArray(self.AsEnumerable());
 public static Lst <A> ToList <A>(this Try <A> self) =>
 toList(self.AsEnumerable());
Example #3
0
 public static Either <Exception, T>[] ToArray <T>(this Try <T> self) =>
 toArray(self.AsEnumerable());
 public static IEnumerable <T> seq <T>(Try <T> value) =>
 value == null
         ? new T[0]
         : value.AsEnumerable().Where(x => x.IsRight).Map(x => x.RightValue);
Example #5
0
 public static Lst <Either <Exception, T> > ToList <T>(this Try <T> self) =>
 toList(self.AsEnumerable());