Hets - the Heterogeneous Tool Set

Copyright(c) Martin Kuehl, Uni Bremen 2008-2009
LicenseGPLv2 or higher, see LICENSE.txt
Maintainermkhl@informatik.uni-bremen.de
Stabilityexperimental
Portabilityportable
Safe HaskellNone

Maude.Sign

Contents

Description

Definition of signatures for Maude.

Synopsis

Types

The Signature type

Auxiliary types

type OpDecl = (Set Symbol, [Attr])

Construction

fromSpec :: Module -> Sign

Extract the Signature from the given Module.

empty :: Sign

The empty Signature.

Combination

union :: Sign -> Sign -> Sign

The union of two Signatures.

intersection :: Sign -> Sign -> Sign

The intersection of two Signatures.

Conversion

symbols :: Sign -> SymbolSet

Extract the Set of all Symbols from a Signature.

Testing

isLegal :: Sign -> Bool

True iff the argument is a legal Signature.

isSubsign :: Sign -> Sign -> Bool

True iff the first argument is a subsignature of the second.

Modification

simplifySentence :: Sign -> Sentence -> Sentence

Simplification of sentences (leave out qualifications)

renameSort :: Symbol -> Symbol -> Sign -> Sign

Rename the given Sort in the given Signature.

renameLabel :: Symbol -> Symbol -> Sign -> Sign

Rename the given Label in the given Signature.

renameOp :: Symbol -> Symbol -> [Attr] -> Sign -> Sign

Rename the given Operator in the given Signature.

Inline printing