[C2hs] Marshal Haskell list into monolithic arrays