"X" is not a syntactically legal lambda expression

False. It may look like its too simple to be an expression but, the string "x" denotes a variable, and any variable (by itself) is a legal lambda expression.

BACK