« Previous | Next » 

Revision 85c48fbb

ID85c48fbb13e52391e77c39a0ad6340f2f9495583
Parent 58c09b0e
Child 8a7a197a

Added by Jose A. Lopes over 8 years ago

Hs2Py constants: add constants from 'Ganeti.Types'

Add to Hs2Py constant generation all constants that are defined by the
Haskell defined declared in 'Ganeti.Types'. This patch also fixes a
type inconsistency between Haskell and Python, namely, the constant
'cvAllEcodesStrings' which in Python was 'frozenset' and the type
generated in Haskell was 'List'. With this patch, the Haskell type
becomes 'FrozenSet', the counterpart type to Python's 'frozenset'.

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences