i-tu / Hasklig

Hasklig - a code font with monospaced ligatures
SIL Open Font License 1.1
5.56k stars 156 forks source link

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

Closed lgarczyn closed 4 years ago

lgarczyn commented 6 years ago

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 commented 5 years ago
  1. Unit is not an empty set, it is a 1-element set.
  2. Conflict with Data.Monoid.Unicode.∅
cblp commented 5 years ago
  1. This is not a ligature, () can't be drawn as , (/) may be, but not ()
alexlucas309 commented 4 years ago

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

yvvt0379 commented 4 years ago

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