21 people like it.
Like the snippet!
This active pattern allows you to specify default values for option arguments in the signature of your function, so you can remove unnecessary calls to defaultArg. It also save you having to define a new name for the defaulted value.
1: 2: 3: 4: 5: 6: |
|
Link: | http://fssnip.net/5z |
Posted: | 13 years ago |
Author: | Kurt Schelfthout |
Tags: | active patterns , defaultarg , option |