27 people like it.
Like the snippet!
Function composition can be done by using >> operator. The snippet at http://fssnip.net/S is a wonderful sample. But that version generates a function which is not easy when you want to debug. This version is to use pipeline (|>) operator.
1: 2: 3: 4: 5: 6: 7: 8: 9: |
|
Link: | http://fssnip.net/9m |
Posted: | 13 years ago |
Author: | Tao Liu |
Tags: | compose , functions |