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

Request to add Dafny's <==> operator #946

Closed
LenaWil opened this issue Feb 18, 2020 · 5 comments
Closed

Request to add Dafny's <==> operator #946

LenaWil opened this issue Feb 18, 2020 · 5 comments
Milestone

Comments

@LenaWil
Copy link

LenaWil commented Feb 18, 2020

Dafny's iff operator looks like this: <==>. However, in Firacode, it either looks like ≤> or <⟹, depending on the IDE. Is it possible to add an operator?

@LenaWil
Copy link
Author

LenaWil commented Feb 18, 2020

I see I overlooked #346, so feel free to close this one.

@tonsky tonsky added this to the 3 milestone Feb 19, 2020
@tonsky
Copy link
Owner

tonsky commented Feb 19, 2020

This one would be faster to add. Where is it used?

@LenaWil
Copy link
Author

LenaWil commented Feb 19, 2020

It's an operator in Dafny that is almost the same as ==, but only works with booleans, like this:

method testMethod() {
    assert true <==> true;
}

@tonsky
Copy link
Owner

tonsky commented Feb 22, 2020

Oh, I see. I thought that it was the name of the operator :)

@tonsky
Copy link
Owner

tonsky commented Apr 8, 2020

It seems that this is already in the font since 1.206 (see #392). Check your font version

@tonsky tonsky closed this as completed Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants