Announcement

Haskell support

by bbi5291 on Jul 24, 2009 - 4:09:28 am UTC
  • (0/0)
Since I was learning Haskell and decided I needed some problems on which to practice, you now have the option of submitting programs written in Haskell. The compiler is ghc 6.8.2.

I'm having some problems though: on aplusb2 I get SIGVTALRM on the last test case -- Hanson, can you help?

Comments (Search)

Hmm.. SIGVTALRM seems to be sent to a Haskell program periodically as a "scheduler timer" - I can set safeexec to just ignore it.

Can you submit a more complex program (that takes a decent amount of time to execute) to verify this?

fib(33) without memoization, takes about 6s on my machine. Is that long enough? (I submitted it to aplusb)

Yep, same error - I'll get safeexec to ignore the signal.

Fixed (by passing "+RTS -V0" as arguments to the executable)