iff-0.0.6.1: Constructing and dissecting IFF files
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.IFF

Description

Lazy read and write.

Problem on writing: If the length of data is computed lazily, then you must seek back to the file position where the size is stored. That is for writing of lazily generated data we need a seekable file device.

Documentation

data T Source #

Constructors

Cons 

Fields

Instances

Instances details
Show T Source # 
Instance details

Defined in Data.IFF

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

Binary T Source # 
Instance details

Defined in Data.IFF

Methods

put :: T -> Put #

get :: Get T #

putList :: [T] -> Put #

data Chunk Source #

Constructors

Form 

Fields

List 

Fields

Cat 

Fields

Prop 

Fields

Chunk 

Fields

Instances

Instances details
Show Chunk Source # 
Instance details

Defined in Data.IFF

Methods

showsPrec :: Int -> Chunk -> ShowS #

show :: Chunk -> String #

showList :: [Chunk] -> ShowS #

data ChunkId Source #

Instances

Instances details
Show ChunkId Source # 
Instance details

Defined in Data.IFF

Eq ChunkId Source # 
Instance details

Defined in Data.IFF

Methods

(==) :: ChunkId -> ChunkId -> Bool #

(/=) :: ChunkId -> ChunkId -> Bool #