示例#1
0
 /// <summary>
 /// Returns a new list, composed of n-tuples of consecutive elements If `n` isgreater than the length of the list, an empty list is returned.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: Number -> [a] -> [[a]]
 /// </summary>
 /// <param name="n">The size of the tuples to create</param>
 /// <param name="list">The list to split into `n`-length tuples</param>
 /// <returns>The resulting list of `n`-length tuples</returns>
 /// <see cref="R.Transduce"/>
 public static dynamic Aperture <TSource>(RamdaPlaceholder n, IList <TSource> list)
 {
     return(Currying.Aperture(n, list));
 }
示例#2
0
 /// <summary>
 /// Returns a new list, composed of n-tuples of consecutive elements If `n` isgreater than the length of the list, an empty list is returned.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: Number -> [a] -> [[a]]
 /// </summary>
 /// <param name="n">The size of the tuples to create</param>
 /// <param name="list">The list to split into `n`-length tuples</param>
 /// <returns>The resulting list of `n`-length tuples</returns>
 /// <see cref="R.Transduce"/>
 public static dynamic Aperture(RamdaPlaceholder n = null, RamdaPlaceholder list = null)
 {
     return(Currying.Aperture(n, list));
 }
示例#3
0
 /// <summary>
 /// Returns a new list, composed of n-tuples of consecutive elements If `n` isgreater than the length of the list, an empty list is returned.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: Number -> [a] -> [[a]]
 /// </summary>
 /// <param name="n">The size of the tuples to create</param>
 /// <param name="list">The list to split into `n`-length tuples</param>
 /// <returns>The resulting list of `n`-length tuples</returns>
 /// <see cref="R.Transduce"/>
 public static dynamic Aperture <TSource>(int n, IList <TSource> list)
 {
     return(Currying.Aperture(n, list));
 }