Skip to content

Instantly share code, notes, and snippets.

@timothyw
Created February 9, 2010 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyw/299561 to your computer and use it in GitHub Desktop.
Save timothyw/299561 to your computer and use it in GitHub Desktop.
Mostly because yacc does not allow it. It confuses
lambda { |foo = bar| puts foo }
as
lambda { |foo = (bar| puts foo) }
and causes syntax error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment