Sadly there is not; it would be a 'nice to have', but it requires a good deal of thought about how we want the precedence to work.

That said, a 'cute' workaround you might find handy is

1
2
3
4
5
6
7
8
9
10
 

let (</) x f = f x

let (/>) f y = (fun x -> f x y)

let minus x y = x - y

printfn "%d" (10 </minus/> 3)
By on 5/24/2009 9:44 AM ()

Yeah, nice.

By on 5/25/2009 2:31 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper