Status: Accepted
Owner: [email protected]
CC: [email protected], [email protected]
Labels: Component-wconfd HaskellTask Priority-Medium Type-Refactoring
Milestone-Release2.12
New issue 782 by [email protected]: Distinguish names/uuids on the type
level
http://code.google.com/p/ganeti/issues/detail?id=782
Currently names and UUIDs in the Cluster configuration are just 'String's.
We should have newtypes that distinguish nodes, groups, instances, etc.
For UUIDs we could either have a separate newtype UUID, or we could also
tag the type with a phantom type describing that the UUID belongs to a
node, group, etc.
For this we could perhaps use Tagged:
http://hackage.haskell.org/package/tagged-0.7.1/docs/Data-Tagged.html
and define something like
type UUID s = Tagged s String
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings