| Copyright | (c) 2013-2016 Galois Inc. |
|---|---|
| License | BSD3 |
| Maintainer | cryptol@galois.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Cryptol.Parser.NoPat
Description
The purpose of this module is to convert all irrefutable patterns to variable
patterns. It also eliminates pattern bindings by de-sugaring them
into Bind. Furthermore, here we associate signatures, fixities,
and pragmas with the names to which they belong. We also merge
empty DForeign binds with their cryptol implementations, if they
exist.
Documentation
class RemovePatterns t where Source #
Instances
| RemovePatterns (Expr PName) Source # | |
Defined in Cryptol.Parser.NoPat | |
| RemovePatterns (NestedModule PName) Source # | |
Defined in Cryptol.Parser.NoPat Methods removePatterns :: NestedModule PName -> (NestedModule PName, [Error]) Source # | |
| RemovePatterns (Program PName) Source # | |
Defined in Cryptol.Parser.NoPat | |
| RemovePatterns [Decl PName] Source # | |
Defined in Cryptol.Parser.NoPat | |
| RemovePatterns (ModuleG mname PName) Source # | |
Defined in Cryptol.Parser.NoPat | |
Constructors