[Haskell-cafe] ANNOUNCE: parallel-22.214.171.124
lemming at henning-thielemann.de
Thu Nov 19 07:00:38 EST 2009
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 ...
More information about the Libraries