Beispiel #1
0
 /// <summary>
 /// Lift to a parser monad world
 /// </summary>
 /// <param name="v"></param>
 /// <typeparam name="TToken"></typeparam>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public static Parser <TToken, T> Return <TToken, T>(T v)
 => i => ParserResult <TToken, T> .Success(i, v);