Currying in impulse caused an error in Clang; fixed.