示例#1
0
文件: Either.cs 项目: GHvW/Heresy
 public IEither <A, B> And(IEither <A, B> r) =>
 r.Fold <IEither <A, B> >(
     left => new Either <A, B> .Left(left),
     right => new Either <A, B> .Right(right));