
25 Feb
2013
25 Feb
'13
8:44 a.m.
Hi, Am Sonntag, den 24.02.2013, 18:41 +0000 schrieb Tom Ellis:
On Sun, Feb 24, 2013 at 07:12:24PM +0100, Joachim Breitner wrote:
You should try:
million :: () -> Int million _ = 10 ^ (6 :: Int)
many :: () -> [Int] many x = [1..million x]
Thanks Joachim, but that doesn't work either.
oh, strange, I though I had added Maybe you will need {-# NOINLINE million #-} as well. to the mailing. Must have skipped or accidentally removed it... anyways, with that pragma it works. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata