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

Magnus Therning magnus at therning.org
Wed Sep 2 01:39:34 EDT 2009


On Mon, Aug 31, 2009 at 12:32 AM, Nigel Rantor<wiggly at wiggly.org> wrote:
> 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...

I'm most often in Cambridge, but do find myself in London
occasionally.  Adding more beers to the first one is nothing I shy
away from :-)

/M

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the Beginners mailing list