An implementation of Coroutine by using a continuation monad. It's using a monad library [1]. [1] https://github.com/fsharp/fsharpx
7 people like thisPosted: 13 years ago by einblicker
This snippet implements a Clojure-like lambda function syntax using Code Quotations. However, this implementation is slow and, moreover, not type-safe. So I'm looking for a way to solve the issues.
6 people like thisPosted: 13 years ago by einblicker
Oleg's delimited continuation monad [1] and creating an external iterator from an internal iterator using it. [1] http://okmij.org/ftp/continuations/implementations.html#genuine-shift
6 people like thisPosted: 13 years ago by einblicker
This snippet implements a semi-coroutine by continuations.
4 people like thisPosted: 13 years ago by einblicker