semitwist.util.functional

Undocumented in source.

Members

Functions

foreachWhileVal
TRet foreachWhileVal(TElem[] coll, TRet whileVal, TRet delegate(TElem) dg)

Like foreach, except the body has a return value, and the loop bails whenever that value != whileVal

map
TOut[] map(TIn[] list, TOut delegate(TIn a) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
map
TOut[TKey] map(TIn[TKey] list, TOut delegate(TIn a, TKey b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
map
T[] map(T[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
map
T[TKey] map(T[TKey] list)
Undocumented in source. Be warned that the author may not have intended to support it.
mapAAtoA
T[] mapAAtoA(T[TKey] list, T delegate(T a, TKey b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
mapAAtoA
T[] mapAAtoA(T[TKey] list)
Undocumented in source. Be warned that the author may not have intended to support it.
mapAAtoATo
TOut[] mapAAtoATo(TIn[TKey] list, TOut delegate(TIn a, TKey b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
mapAAtoATo
TOut[] mapAAtoATo(TIn[TKey] list)
Undocumented in source. Be warned that the author may not have intended to support it.
mapTo
TOut[] mapTo(TIn[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
mapTo
TOut[TKey] mapTo(TIn[TKey] list)
Undocumented in source. Be warned that the author may not have intended to support it.
reduce
T reduce(T[] list, T delegate(T a, T b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
reduce
T reduce(T[] list, T init, T delegate(T a, T b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
reduce
T reduce(T[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
reduce
T reduce(T[] list, T init)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceTo
TOut reduceTo(TIn[] list, TOut delegate(TOut a, TIn b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceTo
TOut reduceTo(TIn[] list, TOut init, TOut delegate(TOut a, TIn b) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceTo
TOut reduceTo(TIn[] list)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceTo
TOut reduceTo(TIn[] list, TOut init)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

makeDg1To1
template makeDg1To1(string str, T)
Undocumented in source.
makeDg2To1
template makeDg2To1(string str, T)
Undocumented in source.
makeDg2To1
template makeDg2To1(string str, T1, T2)
Undocumented in source.

Meta