Provide the option of having infix notation on functions
Provide the option of having infix notation on functions rather than just symbolic operators
There is a new user voice site for suggestions related to the F# language design. https://fslang.uservoice.com/forums/245727-general
Please move this item there and link back to this entry, as the Visual Studio User Voice site is best used for suggestions related to the Visual F# Tools.
Don Syme, for the Visual F# Tools team
I don't mind having to use the "|> infix <|" trick and it seems to make things more clear.
I was thinking I'd really like postfix too. For example, in Octave X' will invert X. I'd love to be able to make that happen in F# as well.
N N commented
I'v used this feature in Haskell and, like Rickasaurus says, it makes your DSL parsers a lot more readable. 3 votes from me!
Mike O'Brien commented
Yes, F# already rocks but this would take it to the next level!
Dave Thomas commented
Especially as symbolic operators are not recommended in public API's too
This would be a great boon for DSL development! +3