[Haskell-beginners] pattern match vs. pure function

Bastian Erdnüß earthnut at web.de
Thu Oct 21 07:29:07 EDT 2010


On Oct 20, 2010, at 15:14, Brent Yorgey wrote:

> But honestly, I don't think this is the sort of thing you should
> really be worrying about.  Write your programs in the most natural,
> elegant way you can think of, and trust that the compiler will try
> very hard to turn it into efficient code.  If it later turns out to be
> too slow and profiling seems to indicate there's room for improvement,
> THEN you can start worrying about this sort of thing.

I buy that.

Cheers,
Bastian



More information about the Beginners mailing list