CurryInfo: contract-prover-4.0.0 / VerifierState.tdeclOf

definition: Info
 
tdeclOf :: VState -> QName -> Maybe TypeDecl
tdeclOf vst tcons@(mn,_) =
  maybe Nothing
        (\p -> find (\td -> typeName td == tcons) (progTypes p))
        (find (\p -> progName p == mn) (currTAProgs vst))
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
------------------------------------------------------------------------
Selects the type declaration of a type constructor from the state.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{(,)}) |-> _}
name: Info
 tdeclOf
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 VState -> (String, String) -> Prelude.Maybe FlatCurry.Types.TypeDecl
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms