On Tue, Dec 23, 2014 at 10:46 AM, Dominic Steinitz <domi...@steinitz.org>
wrote:

> To restate the problem: this is from code that has not been changed for 2
> years. I get
>
> > Examples.hs:42:42: Parse error in pattern: con
> > Failed, modules loaded: none.
>

I think I see the problem. Are you by any chance on a machine which has
clang as its default C compiler (OS X, FreeBSD 9.3?/10.x/STABLE/CURRENT,
possibly others)? cpp will in that case malfunction because it won't
substitute macro parameters after the single quote:

>     minM' (con a#) (con b#) =                                        \

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to