77 people like it.
Like the snippet!
Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a > 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 

Link:  http://fssnip.net/S 
Posted:  6 years ago 
Author:  Novox 
Tags:  fold , reduce , compose , function composition , monoid 