AW: slide: useful function?
John Hughes
rjmh@cs.chalmers.se
Mon, 2 Dec 2002 10:27:21 +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.
>
> -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ --
Or maybe more general notions, such as
"define a recursive datatype together with a catamorphism combinator"
or even
"embed a domain-specific language via combinators over an ADT"
There are patterns of that sort in our programs, which we would probably
rather call design techniques, which aren't so easily captured by a
higher-order function definition.
John