Arjan van IJzendoorn
afie at cs.uu.nl
Thu May 27 08:17:28 EDT 2004
> For a benchmark, I'd like to include a bit of data in the form of a
> list of integer matrices (i.e. [[[Int]]]). While I have about 10000 of
> them, sized about twenty square, even 100 of them takes extremely
> long to compile. Is there a trick to make this faster?
Could you put the data in a file and then read it in?
main = do
contents <- readFile "aLotOfNumbers.txt"
let hugeMatrix = ( read contents ) :: [[[Int]]]
More information about the Glasgow-haskell-users