Esempio n. 1
0
 /// <summary>
 /// Returns a new list excluding the leading elements of a given list whichsatisfy the supplied predicate function. It passes each value to the suppliedpredicate function, skipping elements while the predicate function returns`true`. The predicate function is applied to one argument: *(value)*.Dispatches to the `dropWhile` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> [a]
 /// </summary>
 /// <param name="fn">The function called per iteration.</param>
 /// <param name="list">The collection to iterate over.</param>
 /// <returns>A new array.</returns>
 /// <see cref="R.TakeWhile"/>
 /// <see cref="R.Transduce"/>
 /// <see cref="R.AddIndex"/>
 public static dynamic DropWhile <TSource>(dynamic fn, IList <TSource> list)
 {
     return(Currying.DropWhile(Delegate(fn), list));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns a new list excluding the leading elements of a given list whichsatisfy the supplied predicate function. It passes each value to the suppliedpredicate function, skipping elements while the predicate function returns`true`. The predicate function is applied to one argument: *(value)*.Dispatches to the `dropWhile` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> [a]
 /// </summary>
 /// <param name="fn">The function called per iteration.</param>
 /// <param name="list">The collection to iterate over.</param>
 /// <returns>A new array.</returns>
 /// <see cref="R.TakeWhile"/>
 /// <see cref="R.Transduce"/>
 /// <see cref="R.AddIndex"/>
 public static dynamic DropWhile(dynamic fn, RamdaPlaceholder list = null)
 {
     return(Currying.DropWhile(Delegate(fn), list));
 }
Esempio n. 3
0
 /// <summary>
 /// Returns a new list excluding the leading elements of a given list whichsatisfy the supplied predicate function. It passes each value to the suppliedpredicate function, skipping elements while the predicate function returns`true`. The predicate function is applied to one argument: *(value)*.Dispatches to the `dropWhile` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> [a]
 /// </summary>
 /// <param name="fn">The function called per iteration.</param>
 /// <param name="list">The collection to iterate over.</param>
 /// <returns>A new array.</returns>
 /// <see cref="R.TakeWhile"/>
 /// <see cref="R.Transduce"/>
 /// <see cref="R.AddIndex"/>
 public static dynamic DropWhile <TSource>(RamdaPlaceholder fn, IList <TSource> list)
 {
     return(Currying.DropWhile(fn, list));
 }
Esempio n. 4
0
 /// <summary>
 /// Returns a new list excluding the leading elements of a given list whichsatisfy the supplied predicate function. It passes each value to the suppliedpredicate function, skipping elements while the predicate function returns`true`. The predicate function is applied to one argument: *(value)*.Dispatches to the `dropWhile` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> [a]
 /// </summary>
 /// <param name="fn">The function called per iteration.</param>
 /// <param name="list">The collection to iterate over.</param>
 /// <returns>A new array.</returns>
 /// <see cref="R.TakeWhile"/>
 /// <see cref="R.Transduce"/>
 /// <see cref="R.AddIndex"/>
 public static dynamic DropWhile <TSource>(Func <TSource, bool> fn, RamdaPlaceholder list = null)
 {
     return(Currying.DropWhile(Delegate(fn), list));
 }
Esempio n. 5
0
 /// <summary>
 /// Returns a new list excluding the leading elements of a given list whichsatisfy the supplied predicate function. It passes each value to the suppliedpredicate function, skipping elements while the predicate function returns`true`. The predicate function is applied to one argument: *(value)*.Dispatches to the `dropWhile` method of the second argument, if present.Acts as a transducer if a transformer is given in list position.
 /// <para />
 /// sig: (a -> Boolean) -> [a] -> [a]
 /// </summary>
 /// <param name="fn">The function called per iteration.</param>
 /// <param name="list">The collection to iterate over.</param>
 /// <returns>A new array.</returns>
 /// <see cref="R.TakeWhile"/>
 /// <see cref="R.Transduce"/>
 /// <see cref="R.AddIndex"/>
 public static dynamic DropWhile(RamdaPlaceholder fn = null, RamdaPlaceholder list = null)
 {
     return(Currying.DropWhile(fn, list));
 }