Edit: Sorry for bumping this, WordPress seems to think changing a post title should publish it in RSS again**

Qt Functional
Qt Functional
QfStringList sentence;

sentence << "TZU"
         << "Anticipate"
         << "the"
         << "difficult"
         << "by"
         << "managing"
         << "the"
         << "easy";

sentence
    .foldLeft(Functions::sum);
// "TZUAnticipatethedifficultbymanagingtheeasy"

sentence
    .map(QF_FUNCTION(QString, toUpper()));
// ("TZU", "ANTICIPATE", "THE", "DIFFICULT",
//  "BY", "MANAGING", "THE", "EASY")

sentence
    .map(QF_FUNCTION(QString, length()));
// (3, 10, 3, 9, 2, 8, 3, 4)

sentence
    .map(QF_FUNCTION(QString, length()))
    .foldLeft(Functions::sum);
// 42