Copyright | (c) Christian Maeder DFKI GmbH 2014 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
preprocess some known data types
Synopsis
- data MyData
- = Builtin String String
- | ListOrTuple Bool [MyData]
- | Cons String (Maybe [String]) [MyData]
- dataToMyData :: Data a => a -> MyData
- normalizeMyDataForSerialization :: MyData -> MyData
Documentation
Builtin String String | |
ListOrTuple Bool [MyData] | |
Cons String (Maybe [String]) [MyData] |
dataToMyData :: Data a => a -> MyData Source #
conversion with special treatment for numbers, booleans, strings, characters, ranges, ids, IRIs and other lists.