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 HaskellSafe

Maude.Meta.HasSorts

Description

Accessing the Sorts of Maude data types.

Defines a type class HasSorts that lets us access the Sorts of Maude data types as SymbolSets.

Consider importing Maude.Meta instead of this module.

Synopsis

The HasSorts type class

class HasSorts a where Source #

Represents something that contains a Set of Sorts (as Symbols).

Methods

getSorts :: a -> SymbolSet Source #

Extract the Sorts contained in the input.

mapSorts :: SymbolMap -> a -> a Source #

Map the Sorts contained in the input.

Instances

Instances details
HasSorts Kind Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Sort Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Type Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Term Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Attr Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Condition Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Rule Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Equation Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Membership Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Operator Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Symbol Source # 
Instance details

Defined in Maude.Meta.HasSorts

HasSorts Sentence Source # 
Instance details

Defined in Maude.Sentence

HasSorts Sign Source # 
Instance details

Defined in Maude.Sign

HasSorts KindRel Source # 
Instance details

Defined in Maude.Sign

HasSorts a => HasSorts [a] Source # 
Instance details

Defined in Maude.Meta.HasSorts

Methods

getSorts :: [a] -> SymbolSet Source #

mapSorts :: SymbolMap -> [a] -> [a] Source #

(Ord a, HasSorts a) => HasSorts (Set a) Source # 
Instance details

Defined in Maude.Meta.HasSorts

Methods

getSorts :: Set a -> SymbolSet Source #

mapSorts :: SymbolMap -> Set a -> Set a Source #

(Ord a, HasSorts a) => HasSorts (Rel a) Source # 
Instance details

Defined in Maude.Meta.HasSorts

(HasSorts a, HasSorts b) => HasSorts (a, b) Source # 
Instance details

Defined in Maude.Meta.HasSorts

Methods

getSorts :: (a, b) -> SymbolSet Source #

mapSorts :: SymbolMap -> (a, b) -> (a, b) Source #

(Ord a, HasSorts a) => HasSorts (Map k a) Source # 
Instance details

Defined in Maude.Meta.HasSorts

Methods

getSorts :: Map k a -> SymbolSet Source #

mapSorts :: SymbolMap -> Map k a -> Map k a Source #

(HasSorts a, HasSorts b, HasSorts c) => HasSorts (a, b, c) Source # 
Instance details

Defined in Maude.Meta.HasSorts

Methods

getSorts :: (a, b, c) -> SymbolSet Source #

mapSorts :: SymbolMap -> (a, b, c) -> (a, b, c) Source #