seggie with HEAD

Sigbjorn Finne sof@galconn.com
Thu, 25 Oct 2001 23:33:41 -0700


The following two modules display some odd behaviour
coming from GHCi compiled from HEAD (tested with
stage2 and stage3 builds):

-- sys1.hs
import System ; main = getArgs >>= print

-- sys2.hs
import System ; main = do { ls <- getArgs; print ls }

Starting up a session with sys1.hs & evaluating 'main' behaves
as expected; doing the same with sys2.hs causes a seggie.
They look awfully similar to me.

This is on a RH7 box.

--sigbjorn