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 |
Accessing the Labels of Maude data types.
Defines a type class HasLabels
that lets us access the Label
s of
Maude data types as SymbolSet
s.
Consider importing Maude.Meta instead of this module.
The HasLabels type class
class HasLabels a where Source #
getLabels :: a -> SymbolSet Source #
Extract the Label
s contained in the input.
mapLabels :: SymbolMap -> a -> a Source #
Map the Label
s contained in the input.
Instances
HasLabels StmntAttr Source # | |
HasLabels Rule Source # | |
HasLabels Equation Source # | |
HasLabels Membership Source # | |
Defined in Maude.Meta.HasLabels 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 # | |