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

Ligature from rust unit type () to empty set ∅ #99

Closed
lgarczyn opened this issue Sep 25, 2017 · 4 comments
Closed

Ligature from rust unit type () to empty set ∅ #99

lgarczyn opened this issue Sep 25, 2017 · 4 comments

Comments

@lgarczyn
Copy link

Ideally should only happen after a comma, open parenthesis or space, or never after an alphanumerical character:

foo();
foo(∅);
foo(bar, ∅);

Other rust ligatures could be

&[
r#" foobar "

@cblp
Copy link

cblp commented Jun 11, 2019

  1. Unit is not an empty set, it is a 1-element set.
  2. Conflict with Data.Monoid.Unicode.∅

@cblp
Copy link

cblp commented Jun 11, 2019

  1. This is not a ligature, () can't be drawn as , (/) may be, but not ()

@alexlucas309
Copy link

This seems like it would just look confusing. Plus, it's not an accurate representation of the type.

@yvvt0379
Copy link

@lgarczyn I don't think so. Imho, this will only add to confusion.

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

No branches or pull requests

4 participants