cryptol-2.4.0: Cryptol: The Language of Cryptography

Copyright | (c) 2013-2016 Galois Inc.
License | BSD3
Maintainer | cryptol@galois.com
Stability | provisional
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Cryptol.Parser.NoInclude

Description

# Documentation

removeIncludesModule :: FilePath -> Module PName -> IO (Either [IncludeError] (Module PName)) Source #

data IncludeError Source #

Constructors

IncludeFailed (Located FilePath) |
IncludeParseError ParseError |
IncludeCycle [Located FilePath] |

Instances

Show IncludeError Source # |
Methods showsPrec :: Int -> IncludeError -> ShowS # show :: IncludeError -> String # showList :: [IncludeError] -> ShowS #
Generic IncludeError Source # |
Associated Types type Rep IncludeError :: * -> * # Methods from :: IncludeError -> Rep IncludeError x # to :: Rep IncludeError x -> IncludeError #
NFData IncludeError Source # |
Methods rnf :: IncludeError -> () #
type Rep IncludeError Source # |

type Rep IncludeError = D1 (MetaData "IncludeError" "Cryptol.Parser.NoInclude" "cryptol-2.4.0-CN28BMG3PUFD1lr9WvB1U9" False) ((:+:) (C1 (MetaCons "IncludeFailed" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Located FilePath)))) ((:+:) (C1 (MetaCons "IncludeParseError" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ParseError))) (C1 (MetaCons "IncludeCycle" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Located FilePath])))))

ppIncludeError :: IncludeError -> Doc Source #