Hacker News new | ask | show | jobs
by voidstarcpp 980 days ago
The "tiny math function" is used for expository purposes of the generic application, to fit a trivial example on one page. Obviously it's not how you would literally write a function that transforms elements in a vector.