File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,27 +19,27 @@ import Codec.EBook.OPF
19
19
import Codec.EBook.OCF
20
20
import qualified Data.ByteString.Lazy as B
21
21
22
- -- EPUB media type
22
+ -- | EPUB media type
23
23
opsMediatype :: String
24
24
opsMediatype = " application/xhtml+xml"
25
25
26
- -- Serialize Book to binary EPUB Format
26
+ -- | Serialize Book to binary EPUB Format
27
27
book2Bin :: Book -> Integer -> B. ByteString
28
28
book2Bin book = fromArchive . book2Arch book
29
29
30
- -- Serialize Book to binary EPUB Format with current time
30
+ -- | Serialize Book to binary EPUB Format with current time
31
31
book2Bin' :: Book -> IO B. ByteString
32
32
book2Bin' book = do
33
33
(TOD t _) <- getClockTime
34
34
return $ fromArchive (book2Arch book t)
35
35
36
- -- Serialize Book to ZIP Archive with current time
36
+ -- | Serialize Book to ZIP Archive with current time
37
37
book2Arch' :: Book -> IO Archive
38
38
book2Arch' book = do
39
39
(TOD t _) <- getClockTime
40
40
return $ book2Arch book t
41
41
42
- -- Serialize Book to ZIP Archive
42
+ -- | Serialize Book to ZIP Archive
43
43
book2Arch :: Book -> Integer -> Archive
44
44
book2Arch book t = let conXMLFile = containerXMLFile' opfFileName
45
45
opfFileName = " book.opf"
You can’t perform that action at this time.
0 commit comments