Compile-time calculation: Difference between revisions

m
(→‎{{header|Haskell}}: previous code was not doing compile-time calculation)
Line 414:
}</lang>
 
=={{header|Mathematica}} / {{header|Wolfram Language}}==
Mathematica is not a compiled language, you can construct compiled functions in Mathematica by the build-in function "Compile". Constants are calculated at "compile-time".
<lang>f = Compile[{}, 10!]</lang>
Anonymous user