Copyright | (c) 2013-2016 Galois Inc. |
---|---|
License | BSD3 |
Maintainer | cryptol@galois.com |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
instantiatePCon :: Name -> InferM ([Type], Int, [Type], Type) Source #
Instantiate a pattern constructor. Returns (A,B,C,D) where: A) are the instantiations of the type parameters of the constructor B) is how many proofs we would have if we had dictionaries C) are the types of the fields of the constructor D) is the type of the result of the constructor (i.e., what we are mathcing)