Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
- parseCells :: FilePath -> SdfString -> (Cell -> a) -> [a]
- parseCellsLazy :: FilePath -> SdfString -> (Cell -> a) -> [a]
- parseHeaders :: FilePath -> SdfString -> SdfHeader
Documentation
parseCells :: FilePath -> SdfString -> (Cell -> a) -> [a] Source
Given a SDF file, parse the cells using the customized cell parser and return a list of parsed cells. This function can be used whenever the SDF is too large to parse wholesale
parseCellsLazy :: FilePath -> SdfString -> (Cell -> a) -> [a] Source
Given a SDF file, lazily parse the cells using the customized cell parser and return a list of parsed cells. This function can be used whenever the SDF is too large to parse wholesale.
parseHeaders :: FilePath -> SdfString -> SdfHeader Source
Given a SDF file, parse the SDF headers, ignoring all the cell instances