Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "complement" and "logicalNot" operators to resolve the confusion with "~~~" #472

Open
cloudRoutine opened this issue Oct 12, 2016 · 0 comments
Labels

Comments

@cloudRoutine
Copy link
Owner

Idea 9168976: Add "complement" and "logicalNot" operators to resolve the confusion with "~~~"

Status : planned
Submitted by Don Syme on 8/4/2015 12:00:00 AM
1 votes

When used on user-defined types, the ~~~ operator resolves to op_LogicalNot rather than the expected op_OnesComplement. See dotnet/fsharp#457 (comment) for a workaround.
This should be fixed FSharp.Core. An attempt to fix this transparently failed, see dotnet/fsharp#458.
A plan to address this going forward is at dotnet/fsharp#458 (comment) but will require an update to FSharp.Core.

Response

** by fslang-admin on 8/4/2015 12:00:00 AM **

Approved in principle for F# 4.x+ at next FSharp.Core update. See ongoing discussion on github threads as well.
Don Syme, F# Language and Core Library Evolution
Archived Uservoice Comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant