| Copyright | (c) Martin Kuehl Uni Bremen 2008-2009 |
|---|---|
| License | GPLv2 or higher, see LICENSE.txt |
| Maintainer | mkhl@informatik.uni-bremen.de |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
Maude.Meta.HasLabels
Contents
Description
Accessing the Labels of Maude data types.
Defines a type class HasLabels that lets us access the Labels of
Maude data types as SymbolSets.
Consider importing Maude.Meta instead of this module.
The HasLabels type class
class HasLabels a where Source #
Methods
getLabels :: a -> SymbolSet Source #
Extract the Labels contained in the input.
mapLabels :: SymbolMap -> a -> a Source #
Map the Labels contained in the input.
Instances
| HasLabels StmntAttr Source # | |
| HasLabels Rule Source # | |
| HasLabels Equation Source # | |
| HasLabels Membership Source # | |
Defined in Maude.Meta.HasLabels Methods getLabels :: Membership -> SymbolSet Source # mapLabels :: SymbolMap -> Membership -> Membership Source # | |
| HasLabels Sentence Source # | |
| HasLabels Sign Source # | |
| HasLabels a => HasLabels [a] Source # | |
| (Ord a, HasLabels a) => HasLabels (Set a) Source # | |
| (HasLabels a, HasLabels b) => HasLabels (a, b) Source # | |
| (HasLabels a, HasLabels b, HasLabels c) => HasLabels (a, b, c) Source # | |