<br>hello,I'm new to Haskell and I'm using it to do some simulations for a game, and I have a some functions that have as argument just one int (the current situation), but they do a lot of computations after that (future evolutions etc)
<br><br>I'd like to know if the results are "cached" by the compiler (there are only a few thousand values i call the functions on, but they are distributed on a fairly large interval (0-1000000), because of the codification.
<br><br>if they are not I'd like to know what is the best way to cache them manually, and where can I read more about this, and the optimizations the compiler does, because I've searched the web before and i found very little on this topic.
<br><br>thank you very much<br><br>Silviu<br><br><br>P.S. sorry for my English :)<br>