Re: [Haskell-cafe] capture of idioms and patterns

2010-09-26 Thread aditya siram
I haven't read this thread completely, but if someone else hasn't beaten me to it, there are *lots* of Haskell idioms spelled out on the Haskell Wiki [1] cleverly hidden under the category Style. -deech [1] http://www.haskell.org/haskellwiki/Category:Style On Fri, Sep 24, 2010 at 5:24 PM, Vo

Re: [Haskell-cafe] capture of idioms and patterns

2010-09-24 Thread Albert Y. C. Lai
On 10-09-23 04:57 PM, Andrew Coppin wrote: If you think that sounds silly, ask some random person (not a computer programmer, just some random human) how find the sum of a list of numbers. My reply: to sum 10 numbers, sum 9 numbers, then account for the 10th. More at:

Re: [Haskell-cafe] capture of idioms and patterns

2010-09-24 Thread Vo Minh Thu
2010/9/24 Albert Y. C. Lai tre...@vex.net: On 10-09-23 04:57 PM, Andrew Coppin wrote: If you think that sounds silly, ask some random person (not a computer programmer, just some random human) how find the sum of a list of numbers. My reply: to sum 10 numbers, sum 9 numbers, then account

Re: [Haskell-cafe] capture of idioms and patterns

2010-09-23 Thread Andrew Coppin
On 22/09/2010 09:14 AM, Luc TAESCH wrote: in real life I am doing architecture (appication and system) and I tend to see things differently with my haskell background. when reading what system XYZ does, I see folds, maps, lazy sort, memoisation , monads, etc...ie my mind apply idioms learned

Re: [Haskell-cafe] capture of idioms and patterns

2010-09-23 Thread Dan Piponi
On Thu, Sep 23, 2010 at 1:57 PM, Andrew Coppin andrewcop...@btinternet.com wrote: If you think that sounds silly, ask some random person (not a computer programmer, just some random human) how find the sum of a list of numbers. I can practically guarantee that most humans will reply do X, then

[Haskell-cafe] capture of idioms and patterns

2010-09-22 Thread Luc TAESCH
in real life I am doing architecture (appication and system) and I tend to see things differently with my haskell background. when reading what system XYZ does, I see folds, maps, lazy sort, memoisation , monads, etc...ie my mind apply idioms learned at code design level to architecture level So

Re: [Haskell-cafe] capture of idioms and patterns

2010-09-22 Thread Stephen Tetley
Hi Luc There is a catalogue of patterns for strategic traversal - Ralf Lammel (umlauts on the a in Lammel) and Joost Visser - Design Patterns for Functional Strategic Programming. Strategic traversal is a sub-field of generic programming. http://homepages.cwi.nl/~ralf/dp-sf.pdf This was very