AW: slide: useful function?

Johannes Waldmann joe@isun.informatik.uni-leipzig.de
Mon, 2 Dec 2002 08:26:06 +0100 (MET)


On Mon, 2 Dec 2002, Andrew J Bromage wrote:

> ... If you mention a term like "design patterns", 

well I love design patterns, it's just that in Haskell-land 
they are called higher-order functions, or polymorphic functions, etc.

I think you need  `design pattern' as a special concept
only if you can't express it in the language itself
(that is, if all your functions are first order,
if you can't write polymorphic code, 
or can't typecheck it properly, etc.)
as it happens for most of the mainstream languages ...
-- 
-- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ --
-- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/207 --