| Copyright | (c) Christian Maeder and Ewaryst Schulz and Uni Bremen 2009 |
|---|---|
| License | GPLv2 or higher, see LICENSE.txt |
| Maintainer | Ewaryst.Schulz@dfki.de |
| Stability | experimental |
| Portability | non-portable (MPTC) |
| Safe Haskell | Safe |
Common.Item
Description
This module provides the item datatype for an abstract logic independent representation of basic specs.
Documentation
Instances
class ItemTypeable a where Source #
Instances
| ItemTypeable String Source # | |
Defined in Common.Item | |
| ItemTypeable ItemType Source # | |
| ItemTypeable (String, Doc) Source # | |
| ItemTypeable (String, String, String) Source # | |
Defined in Common.Item | |
listFromAL :: ItemConvertible a m => [Annoted a] -> m [Annoted Item] Source #
listFromLWithA :: ItemConvertible a m => (Item -> Annoted Item) -> [a] -> m [Annoted Item] Source #
annToAItem :: ItemConvertible a m => Annoted a -> m (Annoted Item) Source #
toAItemWithA :: ItemConvertible a m => (Item -> Annoted Item) -> a -> m (Annoted Item) Source #
liftIT2I :: ItemTypeable a => a -> Item Source #
fromL :: (ItemConvertible a m, ItemTypeable b) => b -> [a] -> m (Annoted Item) Source #
fromAL :: (ItemConvertible a m, ItemTypeable b) => b -> [Annoted a] -> m (Annoted Item) Source #
mkFlatItem :: ItemTypeable a => a -> Range -> Item Source #
mkFlatItemM :: (ItemTypeable a, Monad m) => a -> Range -> m Item Source #
flattenItem :: Item -> Item Source #