How does Haskell manage its memory?

Viewed 511

So, we know that for most languages, throughout a program's execution:

  • Global variables are stored in static memory.
  • Local variables are stored in the stack memory.
  • Arbitrarily-changing variables are stored in the heap.

What about Haskell? All I know is that it is lazy. How does that translate into this context?

0 Answers
Related