Provide the option of having infix notation on functions
Provide the option of having infix notation on functions rather than just symbolic operators
225
votes
6 comments
-
Rickasaurus
commented
I don't mind having to use the "|> infix <|" trick and it seems to make things more clear.
-
Rickasaurus
commented
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
-
Rickasaurus
commented
This would be a great boon for DSL development! +3