read-io-0.0.0.1: Read IO library

Safe HaskellSafe
LanguageHaskell2010

System.IO.Read

Description

Read a from FilePath

Synopsis

Documentation

readFrom :: Read a => FilePath -> IO a Source #

Read from given file path

readIn :: Read a => FilePath -> FilePath -> IO [a] Source #

Read files in given basedir and subpath

readDirectory :: Read a => FilePath -> IO [a] Source #

Read from given directory

listAbsDirectory :: FilePath -> IO [FilePath] Source #

List directories with canonicalized paths

listFromIndexedMap :: Read c => (b1 -> b2 -> IO FilePath) -> Map (a1, a2) (b1, b2) -> IO [((a1, a2), c)] Source #

Create list of files for given function and i^ndex.

indexedMap :: (Ord t1, Ord t, Num t1, Num t, Enum t1, Enum t) => [t2] -> [t3] -> Map (t, t1) (t2, t3) Source #

Create a indexed map from a and b

indexed :: (Num a, Enum a) => [b] -> [(a, b)] Source #

Create an indexed list