[Haskell-cafe] Building a better dog house?

Paul Johnson paul at cogito.org.uk
Sun May 17 15:26:41 EDT 2009


michael rice wrote:
> I was just looking at my UML (Unified Modeling Language) User Guide 
> and discovered this:
>
> "The number of object-oriented methods increased from fewer than 10 to 
> more than 50 during the period between 1989 and 1994." pg. xviii, 
> Booch, Rumbaugh, Jacobson, 1999
>
> Is there a modeling methodology recommended for functional languages?
>
> Michael
>
>
UML of course is not a methodology, its a language.  "Rational Unified 
Process" (RUP) is a methodology.

There is no recommended methodology for functional programming, but 
large chunks of RUP and most similar methodologies have little to do 
with OO programming, and therefore could be used as-is.  All the project 
planning, configuration management, requirements management and so on 
will work just fine.

When it comes to the software design in functional languages I find it 
best to start by looking for a domain analysis of the problem (something 
that RUP includes as well, if I recall correctly).  Then try to 
translate that domain analysis into an embedded domain specific language 
(EDSL).  Ideally the EDSL should allow you to describe anything that is 
physically or logically possible in the domain, but nothing that is 
impossible.  Then you can go ahead and create your software by 
translating the requirements directly into the EDSL.

Paul.


More information about the Haskell-Cafe mailing list