
10 Oct
2010
10 Oct
'10
9:18 p.m.
On Sun, Oct 10, 2010 at 4:47 PM, Ozgur Akgun
On 10 October 2010 22:32, Johannes Waldmann
wrote: Oh, and while we're at it - are there standard notations for "forward" function composition and application?
I mean instead of h . g . f $ x I'd sometimes prefer x ? f ? g ? h but what are the "?"
While asking you use the same symbol for function composition, and something like inverse function application. I don't think there exists an operator ?, such that h . g . f $ x is equivalent to x ? f ? g ? h.
infixl 9 ? x ? f = f x h . g . f $ x = h (g (f x)) = h (g (x ? f)) = h (x ? f ? g) = x ? f ? g ? h Luke