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

You're taking the intuition a little too far, I think. If we're talking about linear types, Math.pow can be linear because you can _copy_ the value x as many times as you want. As far as memory management is concerned, the x that was passed in was only used once (to make however many copies).


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

Search: