Hacker News new | ask | show | jobs
by prisonguard 1159 days ago
thank you for explaining, but do i need a special keyboard just to type out the natural number type?
2 comments

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.