In recent weeks we have been organising and polishing our locally
produced Haskell software. Most of this software was written for
educational purposes, but may be quite useful for a wider audience.
At: http://www.cs.ruu.nl/groups/ST/Software/index.html
you can find links and information ab
Alex,
If I were you I'd dispense with "deriving(Read,Show)" in module Publisher,
and add an explicit instance for Read/Show on Publisher in PublisherDB.
That would solve your circularity problem.
Haskell does permit mutually recursive modules, but Hugs does not support
them, and GHC requires so
On Mon, 8 Jun 1998, S. Alexander Jacobson wrote:
> 1. it is not logically consistent to treat exceptions as return values
A function cannot do anything but return a value, can it?
> For example, suppose that we define a new function:
>
> > foo' a b = a + b -- foo' is strict in its arguments
>
Alex Jacobson:
> Ooops, I forgot to remove the "and". Anyway, my point is that
> 1. it is not logically consistent to treat exceptions as return values
> 2. as an implementation matter it violates laziness to do so
OK, now I follow. And diagree. ;-) On your second point first:
I'm not sure w