githubnext / monaspace

An innovative superfamily of fonts for code
https://monaspace.githubnext.com
SIL Open Font License 1.1
13.23k stars 214 forks source link

Add ligature for >>= #31

Closed ambertide closed 2 months ago

ambertide commented 8 months ago

>>= is a popular operator used in the Haskell and Haskell inspired programming languages, although not as popular as other languages they still occupy a space in functional programming

Right now monaspace turns >= to a ligature, and >>= looks like >≥ which looks ugly in my opinion

Maybe a future version of the font could have the >>= ligature?

shurizzle commented 8 months ago

Spaceship operator (<=>) looks ugly too for the same reason.

spenserblack commented 8 months ago

Besides Haskell, >>= and <<= are valid bitwise operations in several languages (JavaScript, Python, Ruby).

ambertide commented 8 months ago

Oh yes, it is probably valid in a lot of languages now that I think about it like that

konn commented 7 months ago

It would be nice to have flipped version =<< and brackets [| and |] too.

idan commented 2 months ago

Fixed in ca8015b