Hets - the Heterogeneous Tool Set

Copyright(c) Christian Maeder DFKI GmbH 2014
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerChristian.Maeder@dfki.de
Stabilityprovisional
Portabilityportable
Safe HaskellSafe

Common.Data

Description

preprocess some known data types

Synopsis

Documentation

data MyData Source #

Constructors

Builtin String String 
ListOrTuple Bool [MyData] 
Cons String (Maybe [String]) [MyData] 

Instances

Eq MyData Source # 

Methods

(==) :: MyData -> MyData -> Bool

(/=) :: MyData -> MyData -> Bool

Ord MyData Source # 

Methods

compare :: MyData -> MyData -> Ordering

(<) :: MyData -> MyData -> Bool

(<=) :: MyData -> MyData -> Bool

(>) :: MyData -> MyData -> Bool

(>=) :: MyData -> MyData -> Bool

max :: MyData -> MyData -> MyData

min :: MyData -> MyData -> MyData

Show MyData Source # 

Methods

showsPrec :: Int -> MyData -> ShowS

show :: MyData -> String

showList :: [MyData] -> ShowS

dataToMyData :: Data a => a -> MyData Source #

conversion with special treatment for numbers, booleans, strings, characters, ranges, ids, IRIs and other lists.