[Haskell-cafe] Java or C to Haskell
Andrea Rossato
mailing_list at istitutocolli.org
Wed Sep 20 05:38:31 EDT 2006
On Wed, Sep 20, 2006 at 07:20:23PM +1000, Donald Bruce Stewart wrote:
> > comp l1 l2 = if l1 == l2 then True else False
> >
> > You never stop learning!
> > andrea
>
> which you would just write as:
> comp = (==)
>
> and then you'd just use == anyway :)
this is why I came to love haskell: it remembers me when I was doing
mathematics at the high school. The most challenging stuff, for me,
was finding a way to simplifying expressions...
It's just an endless chess game.
Sending mails to this mailing list, I mean.
Andrea
More information about the Haskell-Cafe
mailing list