Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / PyValueInstances.hs @ 84ad6b78

History | View | Annotate | Download (2.2 kB)

# Date Author Comment
14874844 09/19/2013 11:52 am Jose A. Lopes

Add 'PyValue' instance for triple

Add 'PyValue' instance for triple which is necessary for the
'CvErrorCode' related constants.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

92b28956 09/12/2013 02:01 pm Jose A. Lopes

Fix instances of 'PyValue'

Fix instances of 'PyValue', namely, for tuples and maps.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

4651c69f 09/10/2013 11:58 am Jose A. Lopes

Wrap 'Set' in 'ListSet' for the opcodes

In what Haskell to Python opcodes are concerned, a Haskell 'Set' is
translated into a Python 'list'. In other words, currently, opcodes
that handle sets of parameters are actually handling lists because
this is how sets are currently encoded. This patch introduces a new...

3a933ed8 09/10/2013 11:58 am Jose A. Lopes

Fix 'List' instance of 'PyValue'

Fix 'List' instance of 'PyValue' to properly convert Haskell lists to
Python lists.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Guido Trotter <>

c4d68e39 08/29/2013 01:17 pm Jose A. Lopes

Move some 'PyValue' instances to a separate file

Move some 'PyValue' instances to a separate file so they can be
available to other modules which need these instances but do not want
to depend on the constants module, which led to compilation
constraints....