Hacker News new | ask | show | jobs
by sumnulu 2989 days ago
Incidentally, http://www.scala-js.org compiler has constant folding too.

Also if you need faster numeric calculations https://github.com/non/spire (has scala.js support)