Futures in Haskell

后端 未结 3 2111

Does Haskell have an equivalent of Alice\'s ability to bind a variable to a future?

val a = spawn foo;

where foo is some function.

I kn

3条回答
  •  难免孤独
    2021-02-07 21:33

    Funny, I was just reading a new post by Simon Marlow: Parallel programming in Haskell with explicit futures. Apparently he and others have been working on some new parallel programming abstractions that are intended to be more natural and explicit than the par and pseq APIs.

提交回复
热议问题