Functions in compact regions
ghci> compact even
*** Exception: compaction failed: cannot compact functions
Why is that? Functions can be stored in compact regions as pointers to the code together with data captured in the closure.
ghci> compact even
*** Exception: compaction failed: cannot compact functions
Why is that? Functions can be stored in compact regions as pointers to the code together with data captured in the closure.