| Branch: | Tag: | Revision:

root / src / Ganeti / Hs2Py / GenConstants.hs @ 9d049fb4

History | View | Annotate | Download (1.7 kB)

# Date Author Comment
a40db327 09/26/2013 05:35 pm Jose A. Lopes

Add 'generated from' comments in Hs2py constants

Modify Hs2Py constants to include a comment in the generated comments
describing the source of those constants. Fixes issue 588.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

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

Add Template Haskell code for constant generation

Add Template Haskell functions that generate a list in Haskell
containing all the constants to be generated in Python. This list is
an association list mapping the constant name to its Python value,
which is stored as a string....