Todd Small | 24 Jan 2010 07:39
Picon

GenC.hs:153:37

Hi,

I've just come across the GenC.hs:153:37 bug that has been mentioned on this mailing list a few times before:

[22 of 23] Compiling GenC             ( GenC.hs, GenC.o )

GenC.hs:153:37:
    Couldn't match expected type `[t]'
           against inferred type `Maybe Type'
    In the first argument of `mplus', namely `M.lookup v' tm'
    In the expression: M.lookup v' tm `mplus` M.lookup v' etm
    In a stmt of a list comprehension:
        t <- M.lookup v' tm `mplus` M.lookup v' etm

I'm using OS X 10.6.2 and ghc 6.10.4.  Has anyone figured out a solution to this problem?

Thanks,

Todd
_______________________________________________
hbc mailing list
hbc@...
http://mailman.cs.utah.edu/mailman/listinfo/hbc

Gmane