I suspect that this might be a problem with Haskell's laziness... will try modifying the code to strictly evaluate global variables to see if that works.
I suspect that this might be a problem with Haskell's laziness... will try modifying the code to strictly evaluate global variables to see if that works.