cryptol-2.13.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
Show Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

showsPrec :: Int -> Path -> ShowS #

show :: Path -> String #

showList :: [Path] -> ShowS #

Generic Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Associated Types

type Rep Path :: Type -> Type #

Methods

from :: Path -> Rep Path x #

to :: Rep Path x -> Path #

NFData Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

rnf :: Path -> () #

PP Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

Methods

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

type Rep Path Source # 
Instance details

Defined in Cryptol.TypeCheck.Unify

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

data PathElement Source #

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