]> code.delx.au - offlineimap/commit
Changed Connection to use StateT instead of State, with Either
authorJohn Goerzen <jgoerzen@complete.org>
Tue, 12 Aug 2008 13:24:39 +0000 (08:24 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Tue, 12 Aug 2008 13:24:39 +0000 (08:24 -0500)
commit0f022ec64bede3ad94e5bb2e99cf1ea6ac9d74ef
treeddfeb061f4f692c52cb0a613699c35fc4444c8dc
parent686149eb871ba1712f9dbf43dfa4ad64d0a26f31
Changed Connection to use StateT instead of State, with Either

This allows us to handle "fail" in a pure way.
src/Network/IMAP/Connection.hs
testsrc/TestConnection.hs