Created
May 5, 2011 14:38
-
-
Save gbissett/957154 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In ruby 1.9, you may see this: | |
-> | |
This combination of hyphen and right-pointy-bracket is sometimes referred to as a "stabby lambda". | |
Its correct name is actually a "foie gras". | |
(o)< # a duck! | |
>(o) # also a duck | |
>(x) # this duck is not well | |
->(o) # this is how they make foie gras | |
->(x) # the tube makes the duck unwell | |
Foie gras. QED. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment