Hello,
It looks like HSP was not migrated to the new
code.haskell.org ?
> $ darcs pull
>
> darcs failed: Not a repository:
http://code.haskell.org/HSP/hsx (Failed to download URL
http://code.haskell.org/HSP/hsx/_darcs/inventory: HTTP response code said error)
I was planning to send a patch that adds, EmbedAsChild m (), as a
super-class (or whatever they are called) for XMLGenerator.
I find I have a lot of code where I have:
foo :: (XMLGenerator m, EmbedAsChild m ()) => ..
And it would be nice to just write:
foo :: (XMLGenerator m) => ...
I can not think of any reason why you would not be able to implement
an instance for (), so it seems like a safe addition.
It does potentially break the API, (if someone had created an
XMLGenerator instance for a monad that does not already have an
EmbedAsChild m () instance). But that is pretty minor.
What do you think?
- jeremy