| | 668 | === [http://blogs.msdn.com/dsyme/archive/2006/08/16/ActivePatterns.aspx: F# Active Patterns] === |
| | 669 | |
| | 670 | It was after a talk by Don Syme on active patterns in F# at the WG2.8 workshop in |
| | 671 | July 2006 that Simon decided to look again at views and extensible pattern |
| | 672 | matching and began this webpage. F# 1.1.12 included a preliminary version |
| | 673 | of extensible pattern matching where values effectively of type |
| | 674 | {{{ |
| | 675 | val Pattern: int -> int option |
| | 676 | }}} |
| | 677 | could be used as query functions. Some examples are documented |
| | 678 | nicely at [[http://tomasp.net/blog/quotvis-reloaded.aspx: Tomas Petricek's website]]. |
| | 679 | |
| | 680 | As of March 2007 the F# design has been redesigned and more details will |
| | 681 | be available soon. Don has been involved in lengthy discussions on the subject |
| | 682 | with Simon Peyton Jones at MSR Cambridge. |
| | 683 | |