Re: -pgm option syntax

2002-02-20 Thread Jens Petersen
Jens Petersen [EMAIL PROTECTED] writes: Jens Petersen [EMAIL PROTECTED] writes: It would be good if ghc would at like give a better error message when an empty cmd is passed to -pgmX. Rather I think it should abort rather than forking an empty command... How about something like the

Typing RULES

2002-02-20 Thread Josef Svenningsson
Hi! Ghc seems to have some problems in inferring the most general types of RULES pragmas. The bug was not present in 5.02.1 but shows up in a cvs version checked out yesterday. Here's the problem: Consider the following example from the user's guide: {-# RULES map/map forall f g xs.