
1 Apr
2008
1 Apr
'08
6:48 a.m.
PR Stanley wrote:
Hi If f x = x and g y = y then f g x returns an error because f takes only one argument. Why can't we have function application implemented outwardly (inside-out).
Why should it be so?
So f g x would be applied with gx first followed by its return value passed to f instead of putting g x in brackets.
You can get the same behavior with f . g $ x if you mislike brackets. -- Dr. Janis Voigtlaender http://wwwtcs.inf.tu-dresden.de/~voigt/ mailto:voigt@tcs.inf.tu-dresden.de