
19 Nov
2009
19 Nov
'09
7 a.m.
Simon Marlow schrieb:
On 19/11/2009 01:14, Henning Thielemann wrote:
Are there plans to turn Strategy and Done into individual types rather than type synonyms? Or is there any benefit from using type synonyms?
Done is gone, so to speak.
Let me turn the question round: what benefits do you see from turning Strategy into a newtype?
Usually you will not apply a strategy as function to a value. A newtype would prevent you from doing so accidentally. But since the definition of Strategy has changed, my objection might no longer be valid ...