IMAP implemented, but ...

Submitted by jmuk on Wed, 07/26/2006 - 11:38am.

Now, I wrote IMAP4.
see, http://darcs.haskell.org/SoC/haskellnet/HaskellNet/IMAP.hs

But, there are two critical problems.

1. no test

I did not do any tests for the implementation because my IMAP environment requires SSL. The current state is only `compile succeed'.
I'd like to write codes to connect IMAP with hsgnutls, and test as soon as possible.

2. ugly codes

The code is too ugly. And it may have many unnecessary definitions. It also has no comments. I'll brush up my codes later...

IMAP4rev1 is pretty huge protocol. It is difficult to parse the server's response, especially FETCH. Implementing IMAP takes longer and longer time than I thought. I get fed up with IMAP...