shikensu-0.3.3: A small toolset for building static websites

Safe HaskellNone
LanguageHaskell2010

Shikensu.Contrib.IO

Description

Dictionary IO functions.

Synopsis

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.

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]`.