Revision 3a933ed8 src/Ganeti/PyValueInstances.hs
b/src/Ganeti/PyValueInstances.hs | ||
---|---|---|
52 | 52 |
showValue = show |
53 | 53 |
|
54 | 54 |
instance PyValue a => PyValue [a] where |
55 |
showValue xs = show (map showValue xs)
|
|
55 |
showValue xs = "[" ++ intercalate "," (map showValue xs) ++ "]"
|
|
56 | 56 |
|
57 | 57 |
instance (PyValue k, PyValue a) => PyValue (Map k a) where |
58 | 58 |
showValue mp = |
Also available in: Unified diff