case_of_ in Haskell should be constant - Your constructors are ints, you know in advance how many there are, so you can just jump with an offset? (I haven't actually checked this, but it doesn't seem unreasonable to me, that this would be the implementation)
======= Georgi
_______________________________________________ Haskell mailing list Haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell