
31 Jul
2002
31 Jul
'02
12:22 p.m.
WARNING: ignoring polymorphic case in interpreted mode. Possibly due to strict polymorphic/functional constructor args. Your program may leak space unexpectedly.
warning in GHCi (5.04). I'm used to getting this when I have a datatype with strict arguments, but the only data type I have in this module (and it doesn't import any of my own modules) is:
newtype GArray s key elt = GA ((STRef s (Int, STArray s Int (key, elt))))
should I be worried?
These might also crop up as a result of using seq. Don't be worried unless you are using seq on purpose to avoid space leaks or to force (unsafe) I/O to happen. The warning essentially means that the seq is being ignored by GHCi because of an implementation wibble. Cheers, Simon