Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

F# has Active Patterns, which really rock. They let you define custom patterns or destructuring functions, then use them like normal patterns.

https://msdn.microsoft.com/en-us/library/dd233248.aspx



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: