Re:Ruby’s magic underscore
by jbri on Saturday September 22, 2012 @11:29AM
(#4558028)
Yes, _ indicating that a parameter is not relevant is how it's used in Haskell.
Though I do feel obligated to point out that, being lazy-evaluated, even if you do give a parameter a name it still won't be evaluated until you actually use it.
Though I do feel obligated to point out that, being lazy-evaluated, even if you do give a parameter a name it still won't be evaluated until you actually use it.