
8 Nov
2009
8 Nov
'09
12:44 a.m.
Doaitse Swierstra wrote:
One of this differences between Haskell and Clean I did not see mentioned in
John van Groningen
does not allow so-called partial parametrisation. I.e. all function calls have to be fully saturated
I don't understand what you mean. Can you give an example ?
Kind regards,
John van Groningen
I think the idea was that Clean doesn't support a syntax like "map (**2)" for a function that will take a list and square its elements. The call to map there is not fully saturated, since it's waiting for another argument. (As a disclaimer, I've not used Clean, so I could be speaking nonsense; it's just how I read the original statement.)