示例#1
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap <TSource>(RamdaPlaceholder fns, Func <TSource, TSource> vs)
 {
     return(Currying.Ap(fns, vs));
 }
示例#2
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap <TSource>(Func <TSource, TSource> fns, RamdaPlaceholder vs = null)
 {
     return(Currying.Ap(fns, vs));
 }
示例#3
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap <TSource>(Func <TSource, TSource> fns, Func <TSource, TSource> vs)
 {
     return(Currying.Ap(fns, vs));
 }
示例#4
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap(dynamic fns, RamdaPlaceholder vs = null)
 {
     return(Currying.Ap(fns, vs));
 }
示例#5
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap(RamdaPlaceholder fns, dynamic vs)
 {
     return(Currying.Ap(fns, vs));
 }
示例#6
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap(dynamic fns, dynamic vs)
 {
     return(Currying.Ap(fns, vs));
 }
示例#7
0
 /// <summary>
 /// ap applies a list of functions to a list of values.Dispatches to the `ap` method of the second argument, if present. Alsotreats curried functions as applicatives.
 /// <para />
 /// sig: [a -> b] -> [a] -> [b]
 /// </summary>
 /// <param name="fns">An array of functions</param>
 /// <param name="vs">An array of values</param>
 /// <returns>An array of results of applying each of `fns` to all of `vs` in turn.</returns>
 public static dynamic Ap <TSource>(IList <Func <TSource, TSource> > fns, IList <TSource> vs)
 {
     return(Currying.Ap(fns, vs));
 }