Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

thank you for explaining, but do i need a special keyboard just to type out the natural number type?


No, you can just type `\nat` and the Lean extension in VScode will turn it into `ℕ`. Similarly, you can type many LaTeX macros, and the will render in unicode. Examples: `\times` becomes `×` and `\to` becomes `→`, etc...


No, you just type \N. You can also use `nat` instead if you prefer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: