lrm: make function defns and lex bindings more consistent