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

Actually 1/2 is there because Elvish supports rational numbers, unfortunately there's no infix math. (Elvish supports arbitrary-precision integers and rationals.)


Bugger. Apologies for posting misinformation.

(at least I warned people I was undercaffeinated?)


Ha, no problem. The number syntax is documented in https://elv.sh/ref/language.html#number




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

Search: