Snippets created by musicologyman

  • function keyword for pattern matching

    Strangely enough, really useful documentation of F#'s "function" keyword used for pattern matching is difficult to find within Microsoft's official documentation. A Google search turns up some helpful illustrations and discussions of the keyword. Here's a simple example that some might find useful.

    3 people like this

    Posted: 10 years ago by musicologyman