[Haskell-beginners] Utter Newbie - simple problems, output - GHC vs GHCi

Nigel Rantor wiggly at wiggly.org
Sun Aug 30 18:32:14 EDT 2009


Magnus Therning wrote:
> On Sun, Aug 30, 2009 at 11:09 PM, Nigel Rantor<wiggly at wiggly.org> wrote:
>>
>> length( filter( Char.isLower "LoweR" ) )
> 
> try this instead
> 
> length (filter Char.isLower "LoweR")
> 
> `filter` takes two arguments.

Thank you, I have been flip-flopping between having no parentheses and
lots...I think I get it now.

I owe you a beer.

This will, however, probably not be my last post...

   n


More information about the Beginners mailing list