[Haskell-cafe] Re: What's the deal with Clean?

Stephen Tetley stephen.tetley at gmail.com
Sun Nov 8 03:57:06 EST 2009

Why speak nonsense when you can test it?

// ----------------------------------------------------------------------------

module nonsense

import StdEnv

nonsense = map ((^) 2)

Start = nonsense [1,2,3]

// ----------------------------------------------------------------------------

.... Running gives:


Best wishes


2009/11/8 L Spice <jadenb1729 at yahoo.com>:
> John van Groningen <johnvg <at> cs.ru.nl> writes:
>> Doaitse Swierstra wrote:
>> >One of this differences between Haskell and Clean I did not see mentioned in
> this discussion is that Clean
>> 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.)
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list