예제 #1
0
파일: Parsed.cs 프로젝트: zanedp/Nett
 public static IReq <T> OrNode <T>(this IOpt <T> x, Func <Node> y)
     where T : Node
 => x.HasNode ? x.AsReq() : new Req <T>(y());
예제 #2
0
파일: Parsed.cs 프로젝트: zanedp/Nett
 public static IReq <T> Orr <T>(this IOpt <T> x, Func <IReq <T> > y)
     where T : Node
 => x.HasNode ? x.AsReq() : y();