[Haskell-cafe] Design Patterns by Gamma or equivalent

Mark Spezzano mark.spezzano at chariot.net.au
Wed Mar 11 06:58:52 EDT 2009


Hi,

 

I’m very familiar with the concept of Design Patterns for OOP in Java and
C++. They’re basically a way of fitting components of a program so that
objects/classes fit together nicely like Lego blocks and it’s useful because
it also provides a common “language” to talk about concepts, like Abstract
Factory, or an Observer to other programmers. In this way one programmer can
instantly get a feel what another programmer is talking about even though
the concepts are fundamentally abstract.

 

Because Haskell is not OO, it is functional, I was wondering if there is
some kind of analogous “design pattern”/”template” type concept that
describe commonly used functions that can be “factored out” in a general
sense to provide the same kind of usefulness that Design Patterns do for
OOP. Basically I’m asking if there are any kinds of “common denominator”
function compositions that are used again and again to solve problems. If
so, what are they called?

 

Cheers,

 

Mark Spezzano

 

 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.557 / Virus Database: 270.11.9/1993 - Release Date: 10/03/2009
7:19 AM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090311/ed5add7b/attachment.htm


More information about the Haskell-Cafe mailing list