This document discusses the differences between using yield and return in computation expressions in F#. It presents several implementations of computation expressions to demonstrate how yield and return can be distinguished. The key differences are:
- yield continues the remaining computation expression, while return stops any remaining expressions from executing.
- Several approaches are presented: using exceptions, a state field on the builder, and passing state as an argument. The state argument approach provides a clear separation of yield and return without sharing state between uses of the builder.
- Continuations are also proposed as an implementation, where yield calls the continuation and return discards it. This approach makes the symmetry between yield and return very clear.
This document discusses the differences between using yield and return in computation expressions in F#. It presents several implementations of computation expressions to demonstrate how yield and return can be distinguished. The key differences are:
- yield continues the remaining computation expression, while return stops any remaining expressions from executing.
- Several approaches are presented: using exceptions, a state field on the builder, and passing state as an argument. The state argument approach provides a clear separation of yield and return without sharing state between uses of the builder.
- Continuations are also proposed as an implementation, where yield calls the continuation and return discards it. This approach makes the symmetry between yield and return very clear.
This document provides a summary of an individual's background and experiences including programming languages, conferences, and meetups. It includes the following information in 3 sentences:
The document identifies an individual named bleis-tift and lists their experiences with programming languages like F#, C#, Git, and Vim as well as their involvement with Meetup groups focused on test-driven development, source code management, and more. Various conferences and meetups are listed that they have attended related to programming topics such as .NET, Ruby, F#, JavaScript, functional programming, and more. Locations mentioned include Nagoya, Japan where several meetups on topics such as Perl, OCaml, Scala, and development practices were held.
This document discusses upcoming events related to functional programming languages and mobile development platforms. It lists upcoming talks on F# and Scala in Tokyo, and notes an online F# advent calendar from December 1st to 25th featuring short daily posts about F#. It also advertises an upcoming workshop on building Windows Phone applications using F# and C#.
This document discusses the author's experiences with various programming languages and technologies over the years including Lightweight Language, Haskell, Scala vs Kotlin, Smalltalk, and Lexically scoped Lisp. It also mentions how AsakusaSatellite and @mzp have grown and reflects on the author's life in Nagoya.