First of all, yeah I know that I should use ghc instead (but we are forced to use hugs in the course)
So I try to generate all permutations of [1 .. 9]
but when evaluating this, hugs throws an error:
"ERROR - Garbage collection fails to reclaim sufficient space"
Is there any quickfix or roundabout for this?