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 | None |
Accessing the Sorts of Maude data types.
Defines a type class HasSorts
that lets us access the Sort
s of Maude
data types as SymbolSet
s.
Consider importing Maude.Meta instead of this module.
The HasSorts type class
class HasSorts a where
Extract the Sort
s contained in the input.
mapSorts :: SymbolMap -> a -> a
Map the Sort
s contained in the input.
HasSorts Kind | |
HasSorts Sort | |
HasSorts Type | |
HasSorts Term | |
HasSorts Attr | |
HasSorts Condition | |
HasSorts Rule | |
HasSorts Equation | |
HasSorts Membership | |
HasSorts Operator | |
HasSorts Symbol | |
HasSorts Sentence | |
HasSorts Sign | |
HasSorts KindRel | |
HasSorts a => HasSorts [a] | |
(Ord a, HasSorts a) => HasSorts (Set a) | |
(Ord a, HasSorts a) => HasSorts (Rel a) | |
(HasSorts a, HasSorts b) => HasSorts (a, b) | |
(Ord a, HasSorts a) => HasSorts (Map k a) | |
(HasSorts a, HasSorts b, HasSorts c) => HasSorts (a, b, c) |