cryptol-3.0.0: Cryptol: The Language of Cryptography
Copyright(c) 2013-2016 Galois Inc.
LicenseBSD3
Maintainercryptol@galois.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Cryptol.TypeCheck.Unify

Description

 
Synopsis

Documentation

type MGU = (Subst, [Prop]) Source #

The most general unifier is a substitution and a set of constraints on bound variables.

newtype Path Source #

Constructors

Path [PathElement] 

Instances

Instances details
Generic Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Associated Types

type Rep Path :: Type -> Type Source #

Methods

from :: Path -> Rep Path x Source #

to :: Rep Path x -> Path Source #

Show Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

PP Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

ppPrec :: Int -> Path -> Doc Source #

NFData Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

rnf :: Path -> () Source #

type Rep Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

type Rep Path = D1 ('MetaData "Path" "Cryptol.TypeCheck.Unify" "cryptol-3.0.0-GK3yBy6qIXwDPbEtYgXQBu" 'True) (C1 ('MetaCons "Path" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PathElement])))

data PathElement Source #

Instances

Instances details
Generic PathElement Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Associated Types

type Rep PathElement :: Type -> Type Source #

Show PathElement Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

NFData PathElement Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

rnf :: PathElement -> () Source #

type Rep PathElement Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

mguMany :: Path -> [Path] -> [Type] -> [Type] -> Result MGU Source #