On 12/17/05, Juliusz Chroboczek <[EMAIL PROTECTED]> wrote: > That's great, thanks a lot. > > Any chance you could do the same for .darcs-temp-mail?
Attached. Currently it always deletes the file after it has been edited. It might not be a bad idea to save the file if the sendEmailDoc fails. I tried to implement this but it looks like I need to understand Haskell exception handling better first. I was trying to catch 'fail' exceptions from sendEmailDoc, print out the email file location, and then re-fail so it can be handled by whatever handles it. But it didn't work out too well :P I'll try to get this working later. > > The number of parameters for these functions is getting a bit large. > > I wonder if there is a better way? > > So do I. Anyone got an idea? It might make sense to group name, date, and my_author into a tuple or record. But this is more of a Haskell style issue. Perhaps someone with more experience with Haskell would care to comment. -- Zachary P. Landau <[EMAIL PROTECTED]>
use_temporary_file_when_editing_send_description.dpatch
Description: Binary data
_______________________________________________ darcs-devel mailing list [email protected] http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel
