misc: Add drop_while function
[issue #6] Retrieve types of enclosing expressions