One of the annoyances in using `listings` for papers is that when your command chars are to recognise highlighting commands, anonymous functions cause an issue!
This will disappear when i convert the source to annotated versions, but is annoying nonetheless.