# Typos in Julia

**URL:** <https://discourse.julialang.org/t/typos-in-julia/77267>\
**Category:** General Usage\
**Tags:** fonts, unicode\
**Created:** [March 2, 2022, 2:03am UTC](https://discourse.julialang.org/t/typos-in-julia/77267 "2022-03-02T02:03:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ameresv](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ameresv/32/14372_2.png) [@ameresv](https://discourse.julialang.org/u/ameresv)\
**Post date:** [March 2, 2022, 2:03am UTC](https://discourse.julialang.org/t/typos-in-julia/77267/1 "2022-03-02T02:03:31Z")

</div>

This could be a silly question, but why this `->` is accepted and `→` does not?  
The latter does really help me in the readability of my code and, in my case, is obtained with `alt + 26`. Is there a future development on it?  
Regards

---

<div class="post-metadata">

**Author:** ![miguelraz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miguelraz/32/631_2.png) [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Post date:** [March 2, 2022, 2:13am UTC](https://discourse.julialang.org/t/typos-in-julia/77267/2 "2022-03-02T02:13:18Z")

</div>

You can already have it, if you setup the proper [font + IDE with JuliaMOno](https://github.com/cormullion/juliamono) combo (or whatever lets you have code ligatures).

Most people will use the Julia VSCode plugin and that will work.

* * *

As for why it doesn’t work today, I think that nobody has bothered to implement it yet, but I you are free to look at previous parser PRs.

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [March 2, 2022, 11:10am UTC](https://discourse.julialang.org/t/typos-in-julia/77267/3 "2022-03-02T11:10:26Z")

</div>

One example of a previous discussion: [https://github.com/JuliaLang/julia/issues/11223](https://github.com/JuliaLang/julia/issues/11223)

For a good list of fonts that support these replacements (aka “ligatures”), visit [https://devfonts.gafi.dev](https://devfonts.gafi.dev) – Julia syntax is available!. Note that fonts don’t replace two characters (`-` and `>`) with some suitable single Unicode character (eg `→`, U2192), but rather with two non-Unicode glyphs that give you what looks like a wide arrow.

---

<div class="post-metadata">

**Author:** ![D\_A](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@D\_A](https://discourse.julialang.org/u/D_A)\
**Post date:** [March 2, 2022, 2:19pm UTC](https://discourse.julialang.org/t/typos-in-julia/77267/4 "2022-03-02T14:19:41Z")

</div>

It reminds me my old Github [issue](https://github.com/JuliaLang/julia/issues/41462) (with a [PR](https://github.com/JuliaLang/julia/pull/41787) I opened), especially the similarity with `…` as alias for `...`… You have made me wonder why I forgot to mention this `→` symbol that I use almost everyday…
