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

F# allows you to do these 'small types' in a few different ways, including unit annotations... http://fsharpforfunandprofit.com/posts/units-of-measure/


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

Search: