Snippets tagged return

  • Imperative computation builder

    Defines an F# computation builder for encoding imperative computations. The 'return' construct returns immediately and terminates the rest of the computation. It is also possible to return value from a 'for' or 'while' loop.

    11 people like this

    Posted: 12 years ago by Tomas Petricek