i-tu / Hasklig

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

Ligatures for |> and <| (pipe foward and pipe backward) #102

Open mluisbrown opened 6 years ago

mluisbrown commented 6 years ago

These two operators are use a lot in F# and also in Swift. FiraCode supports them, but I prefer the look of Hasklig. They are the only two I use a lot (in Swift) which Hasklig doesn't support. 🙏

trha commented 6 years ago

|> and <| have already been supported. image

mluisbrown commented 6 years ago

In that case my issue is that the pipe symbols have a gap between the pipe and the < and > symbols. In Fira Code there is no gap: image Why are they not joined, like in Fira Code, or like other ligatures such as -> ?

i-tu commented 6 years ago

Stylistic choice :)

Hasklig ligatures tend to look more similar to the original characters as opposed to e.g. FiraCode. If the triangle approach gets a lot of support, I will consider it!

dogweather commented 6 years ago

Interesting approach, @i-tu — I'm looking forward to testing out both Haskelig and Fira Code.