[erlang-questions] "Design patterns" for functional languages?

Matt Kangas matt@REDACTED
Tue Aug 5 18:55:33 CEST 2008


David,

I see Hynek has already suggested SICP. Another, possibly gentler,
book that you may find helpful: "The Little Schemer". Some time ago I
rewrote most of the book's code in Erlang as a learning exercise:

http://www.p16blog.com/p16/2008/01/erlang-version.html

Code: http://p16blog.googlecode.com/svn/trunk/learning_erlang/little.erl

I'm still kicking around the idea of fleshing this out into something
book-like, but have been too busy otherwise. If you find this code
useful or have suggestions for improving it, please let me know!

Cheers,
--Matt


On Tue, Aug 5, 2008 at 4:15 AM, David Mitchell <monch1962@REDACTED> wrote:
> G'day all,
>
> I'm looking for a good source of "design patterns" information for
> functional languages: Erlang in particular, but also applicable to
> OCaml.  While I've written a smallish bunch of Erlang apps now and all
> have gone reasonably well, I'm stuck with the feeling that I'm
> reinventing some wheels in a less-than-optimal fashion.
>
> Google shows up a bunch of sites containing functional design patterns
> out there, but the ones I've examined don't seem to be particularly
> ... how can I put this? ... well thought out.
>
> Does anyone have a good reference for functional design pattern info,
> that's both well explained and covers a useful subset of real-life
> cases?  I guess I'm looking for the functional equivalent of the Gang
> of Four "Design Patterns" book, but focusing on functional languages
> and preferably free.
>
> Regards
>
> David Mitchell


-- 
Matt Kangas
matt@REDACTED



More information about the erlang-questions mailing list