xsharpx icon indicating copy to clipboard operation
xsharpx copied to clipboard

Monadic extension for Task,

Open vmarquez opened this issue 12 years ago • 0 comments

TaskExtension provides monadic extensions to Microsoft's Task class. Note that constructing and comprehending Tasks is referentially transparent, only calling "Start" will kick off the computation in another thread on the environment's thread pool.

 EitherTTask<A> 

is analogous to an

 EitherT<Task,A> 

if .NET allowed HKT, in other words a way to comprehend over both the Either and the Task in an easy to use way.

Sequence is self explanatory, though we may want to move it to List?

vmarquez avatar Jan 15 '14 00:01 vmarquez