On Sep 20, 2007, at 0:16 , PR Stanley wrote:

I must confess that the use of "\_" had me a little confused at first but thinking about it I can see that it makes perfect sense to have an argument or a wildcard character for any value.

Sure. Remember, arguments are pattern matches in Haskell (the degenerate case being a variable name which is an irrefutable match resulting in a lambda binding). As such, it's useful to have a wildcard pattern which matches irrefutably without binding.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon university    KF8NH


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to