LShift interview question

Functional programming.