úÎ&"ä+      !"#$%&'()* provisional/Nicolas Pouillard <nicolas.pouillard@gmail.com>=An & represent an mbox message, featuring 2 the sender, the date-time, and the message body. An  is a list of   +,-. First-class label to message' s raw body *First-class label to the file path of mbox' s message CFirst-class label to the offset of the given message into the mbox First-class label to message' s sender <First-class label to the date and time of the given message /0 1!fromQuoting f s returns s where the quoting level + of From_ lines has been updated using the f function. #The From_ spefication, quoted from  $http://qmail.org./man/man5/mbox.html:   >(From quoting ensures that the resulting 6 lines are not From_ lines: the program prepends a > to any  From_ line, >F rom_ line, >> From_ line, >>>From_ line, etc. 234"Same as ## but cat returns an error message. B However only the line can cause an error message currently, so it's fine # to dispatch on the either result. #Turns a 5 into an ! by splitting on From_ lines and  unquoting the '>*From's of the message. 67$Turns an mbox into a 5 %=Returns an header line in mbox format given an mbox message. & Returns a 5 given an mbox message. '#Given a file handle and an offset, ' returns  the message a this offset. 89readRevMboxHandle fp h, returns a reversed mbox for a file handle. ; The file handle is supposed to be in text mode, readable. :;&readHandleBackward maxChunkSize size h lazily reads the h file handle K from the end. The file contents is returned as a reversed list of chunks. & The result is such that if one apply C.concat . reverse one get  the in-order contents. ())Returns a mbox given a direction (forward/backward) and a file path. *.Returns a mbox list given a direction (forward/#backward) and a list of file path. & Note that files are opened lazily. <=+  !"#$%&'()*+  )*#"'$&% ! (+    !"#$%&'()*>      !"#$%&'()*++,-./0123456789:;<=>?codec-mbox-0.1.0.0 Codec.Mbox MboxMessage_mboxMsgSender _mboxMsgTime _mboxMsgBody _mboxMsgFile_mboxMsgOffsetMbox mboxMessages DirectionForwardBackwardMonthDecNovOctSepAugJulJunMayAprMarFebJan mboxMsgBody mboxMsgFile mboxMsgOffset mboxMsgSender mboxMsgTimemsgYear msgMonthYear fromQuoting safeParseMbox parseMboxshowMboxshowMboxFromLineshowMboxMessageparseOneMboxMessageopposite parseMboxFileparseMboxFiles:*:first'uncurry'readYear readMonthnextFrom mkQuotedFrombFrom skipFirstFrombytestring-0.9.2.0Data.ByteString.Lazy.Internal ByteStringsplitMboxMessagesfinishMboxMessageParsingreadRevMboxFilereadRevMboxHandle readRevMboxreadHandleBackward mboxChunkSize oneMegabyte