RE: hp2ps: MARKs wrongly placed unless x-axis starts at zero

2003-07-30 Thread Simon Marlow
> The following seems to do the trick. > > N > > > *** Marks.bad.c 2003-07-30 18:00:12.0 +0100 > --- Marks.c 2003-07-30 18:00:15.0 +0100 > *** > *** 16,22 > floatish m; > > for (i = 0; i < nmarks; i++) { > ! m = (markmap[i] / xrange) * gr

RE: hp2ps: MARKs wrongly placed unless x-axis starts at zero

2003-07-30 Thread Nicholas Nethercote
On Wed, 30 Jul 2003, Simon Peyton-Jones wrote: > Interesting. We're clueless about hp2ps here at GHC home base. Would > you (or any else) like to fix this? We'd be happy to apply a patch, > needless to say! The following seems to do the trick. N *** Marks.bad.c 2003-07-30 18:00:12.0

RE: hp2ps: MARKs wrongly placed unless x-axis starts at zero

2003-07-30 Thread Simon Peyton-Jones
Interesting. We're clueless about hp2ps here at GHC home base. Would you (or any else) like to fix this? We'd be happy to apply a patch, needless to say! Simon | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On | Behalf Of Nicholas Nethercote | Sent: 26 July 20

RE: can't derive Monad

2003-07-30 Thread Simon Peyton-Jones
| > You'd get | > | > instance Eq [T] => Eq T | > | > which will make the type checker loop for sure. | | Actually not. | | swan(102)% cat Deriving.hs | newtype N = N [N] deriving Eq What it's doing is *first* trying the new newtype-deriving stuff, failing (because recursive) and then tr