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.Meta.HasSorts

Contents

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

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

Methods

getSorts :: a -> SymbolSet

Extract the Sorts contained in the input.

mapSorts :: SymbolMap -> a -> a

Map the Sorts contained in the input.