Idris.Package.Parser

idris-1.3.4: Functional Programming Language with Dependent Types

License | BSD3
Maintainer | The Idris Community.
Safe Haskell | None
Language | Haskell2010

Idris.Package.Parser

Description

Synopsis

- type PParser = Parser PkgDesc
- parseDesc :: FilePath -> IO PkgDesc
- pPkg :: PParser PkgDesc
- pPkgName :: PParser PkgName
- filename :: (Parsing m, MonadFail m) => m String
- textUntilEol :: Parsing m => m String
- clause :: String -> PParser a -> (PkgDesc -> a -> PkgDesc) -> PParser ()
- commaSep :: Parsing m => m a -> m [a]
- pOptions :: PParser [Opt]
- libIdentifier :: Parsing m => m String
- pClause :: PParser ()

# Documentation

type PParser = Parser PkgDesc #

parseDesc :: FilePath -> IO PkgDesc #

pPkg :: PParser PkgDesc #

pPkgName :: PParser PkgName #

filename :: (Parsing m, MonadFail m) => m String #

Parses a filename. | | Treated for now as an identifier or a double-quoted string.

textUntilEol :: Parsing m => m String #

clause :: String -> PParser a -> (PkgDesc -> a -> PkgDesc) -> PParser () #

commaSep :: Parsing m => m a -> m [a] #

pOptions :: PParser [Opt] #

libIdentifier :: Parsing m => m String #

pClause :: PParser () #