Statistics
| Branch: | Tag: | Revision:

root / src @ fa70fff2

Name Size
  Ganeti
AutoConf.hs.in 4.3 kB
OLD-NEWS 19 kB
README 4.5 kB
ganeti-mond.hs 1.2 kB
haddock-prologue 251 Bytes
hconfd.hs 1.2 kB
hluxid.hs 1.2 kB
hs2py-constants.hs 888 Bytes
hs2py.hs 864 Bytes
htools.hs 824 Bytes
lint-hints.hs 1 kB
mon-collector.hs 1 kB
rpc-test.hs 8.3 kB

Latest revisions

# Date Author Comment
fa70fff2 09/11/2013 11:00 am Jose A. Lopes

Add AutoConf.hs.in

Add 'AutoConf.hs.in' which is the template for generating the file
'AutoConf.hs'. This file mimics the Python equivalent
'lib/_autoconf.py' and it is necessary for Haskell constants to be
able to retrieve their values from 'configure'....

9413ef24 09/10/2013 11:58 am Jose A. Lopes

Haskell to Python constants: add 'adminstAll'

Add constant 'adminstAll' to Haskell to Python constant generation.

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

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

Add 'FrozenSet'

Add type 'FrozenSet' that wrap a Haskell 'Set', and a guarded
constructor for this type and a 'PyValue' instance.

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

4c9fdf69 09/10/2013 11:58 am Jose A. Lopes

Fix module documentation

Fix 'Ganeti.Hs2Py.ListContants.hs.in' template module documentation to
warn about automatic module generation.

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

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

Fix module documentation

Fix 'HsConstants' module documentation to warn about proper module
usage.

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 <>

ce1b0c05 08/29/2013 04:05 pm Jose A. Lopes

Haskell to Python opcodes: fix Unit

Fix how Haskell to Python opcode generation handles unit. It seems
that, in 'template-haskell-2.7.0', unit is represented by Template
Haskell as a constructor of the form '(ConT name)', where 'name' is
the constructor name for 'Unit'. However, in 'template-haskell-2.8.0'...

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

Import original constants instead of generated

Haskell to Python constant generation introduced duplicated constants
in Haskell. This patch eliminates the duplication and fixes Haskell
to import the correct constants, instead of the generated ones.

Signed-off-by: Jose A. Lopes <>...

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

Setup constant generation infrastructure

Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and Python
constants will not be migrated to Haskell all at once. Instead, some
constants will be incrementally pulled from Python and moved to...

View revisions

Also available in: Atom