Change all types in 'Types' to use String
authorJose A. Lopes <jabolopes@google.com>
Mon, 16 Sep 2013 13:28:39 +0000 (15:28 +0200)
committerJose A. Lopes <jabolopes@google.com>
Thu, 19 Sep 2013 08:52:05 +0000 (10:52 +0200)
commit72e18df1e731a429be97a8cbf6005b25861d2b84
tree316ec23c5daebce9dbaef44f7e7a9576fee9c694
parent9ee75f258b1d5bc890f6a74bbebd031df8f25831
Change all types in 'Types' to use String

Haskell types should be the source of information related to
constants.  Therefore, instead of building the Haskell types from the
constants, the constants should be taken from the Haskell types.  This
patch updates all the types defined in 'Ganeti.Types' to follow this
approach.

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
src/Ganeti/ConstantUtils.hs
src/Ganeti/Types.hs