Re: [Haskell-cafe] How to name a mapped function?

2010-06-07 Thread Ketil Malde
Martin Drautzburg writes: > If I have a function, say "compute" whose last parameter is some value ... > and I create another function, which applies "compute" to a list of values, > how would I call this function? If I understand you correctly, and it's not simply "map . compute" (which I'd le

Re: [Haskell-cafe] How to name a mapped function?

2010-06-07 Thread Stephen Tetley
If the function is changing the size of the list (e.g. by removing duplicates) a name implying 'mapping' might be misleading. Maybe something like /process/ or /normalize/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mail

Re: [Haskell-cafe] How to name a mapped function?

2010-06-07 Thread Alexander Solla
On Jun 6, 2010, at 11:22 AM, Martin Drautzburg wrote: If I have a function, say "compute" whose last parameter is some value ... and I create another function, which applies "compute" to a list of values, how would I call this function? computeF is my natural inclination. F is for Functo

Re: [Haskell-cafe] How to name a mapped function?

2010-06-07 Thread Brandon S. Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Jun 6, 2010, at 14:22 , Martin Drautzburg wrote: If I have a function, say "compute" whose last parameter is some value ... and I create another function, which applies "compute" to a list of values, how would I call this function? The few c

[Haskell-cafe] How to name a mapped function?

2010-06-07 Thread Martin Drautzburg
Hello all, I like some of the naming conventions in haskell quite a lot, like calling a list of something "xs", or function which takes a function as a parameter "..By" as in sortBy or groupBy. If I have a function, say "compute" whose last parameter is some value ... and I create another funct