Skip to content

Commit 79c02ce

Browse files
committed
fix comments.
1 parent 948bdd0 commit 79c02ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Codec/EBook.hs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@ import Codec.EBook.OPF
1919
import Codec.EBook.OCF
2020
import qualified Data.ByteString.Lazy as B
2121

22-
-- EPUB media type
22+
-- | EPUB media type
2323
opsMediatype :: String
2424
opsMediatype = "application/xhtml+xml"
2525

26-
-- Serialize Book to binary EPUB Format
26+
-- | Serialize Book to binary EPUB Format
2727
book2Bin :: Book -> Integer -> B.ByteString
2828
book2Bin book = fromArchive . book2Arch book
2929

30-
-- Serialize Book to binary EPUB Format with current time
30+
-- | Serialize Book to binary EPUB Format with current time
3131
book2Bin' :: Book -> IO B.ByteString
3232
book2Bin' book = do
3333
(TOD t _) <- getClockTime
3434
return $ fromArchive (book2Arch book t)
3535

36-
-- Serialize Book to ZIP Archive with current time
36+
-- | Serialize Book to ZIP Archive with current time
3737
book2Arch' :: Book -> IO Archive
3838
book2Arch' book = do
3939
(TOD t _) <- getClockTime
4040
return $ book2Arch book t
4141

42-
-- Serialize Book to ZIP Archive
42+
-- | Serialize Book to ZIP Archive
4343
book2Arch :: Book -> Integer -> Archive
4444
book2Arch book t = let conXMLFile = containerXMLFile' opfFileName
4545
opfFileName = "book.opf"

0 commit comments

Comments
 (0)