Archive for the ‘battery nice’ Category

a list-transforming function

Jueves, Agosto 28th, 2008

Here we pipe the original list into a list-transforming function - the function that is the result of partially applying List.filter to IsOdd. Since this example is very simple, I could have just written
let newList = List.filter IsOdd origList

That is, this example didn’t need partial application and dell KD186 XD187 312-0416 b130 b120 battery the pipeline. But if we were doing a more complicated series of transformations on the list, then the pipeline style and partial applications would be Dell Latitude D620 D630 Series battery the way to go. Indeed, we saw this in the previous blog entry about pipelines, where there were a number of partial applications battery fits Fujitsu FPCBP94,FPCBP94AP battery of functions in the Set module.

In general, partial application of curried functions is a handy technique, and in practice Battery Nec Versa E400 Mitac 8677 4CGR18650A2-MSL I find that pipelines are the place where this technique is most commonly used.

(Teaser: I have an idea for a more detailed example that utilizes partial Battery Apple G4 15 A1045 A1078 A1148 M9325 application in a particularly interesting way, and I hope to write about it in the near future.)


Related Topics: