Safe Haskell | None |
---|---|
Language | Haskell2010 |
Dictionary IO functions.
- read :: Dictionary -> IO Dictionary
- readDef :: Definition -> IO Definition
- write :: FilePath -> Dictionary -> IO Dictionary
- writeDef :: FilePath -> Definition -> IO Definition
Documentation
read :: Dictionary -> IO Dictionary Source #
Read.
Read the contents of each file, and for each file (ie. definition)
put that content in the content
property.
readDef :: Definition -> IO Definition Source #
write :: FilePath -> Dictionary -> IO Dictionary Source #
Write.
Write the contents of each definition to a file. The path of the new file is `joinPath [rootDirname, givenDirectoryName, localPath]`.
writeDef :: FilePath -> Definition -> IO Definition Source #