[Haskell-cafe] omitting params in function bindings

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Tue Nov 17 22:33:48 EST 2009


Doug McIlroy wrote:

> Is there a deep reason (beyond saving a sentence
> or two in the language definition) for requiring
> all patterns in a function binding to have the
> same explicit arity?

Perhaps it is more likely that a clause omitting an argument is a  
mistake by the programmer, than that it was an intentional eta- 
conversion.

Regards,
    Malcolm


More information about the Haskell-Cafe mailing list