Skip to content

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information