[Haskell-cafe] Haskell Cloud and Closures

Fred Smith ilikequoting at katamail.com
Sat Oct 1 11:16:13 CEST 2011


I've built a little program to compute the plus function remotely by
using Cloud Haskell:
http://pastebin.com/RK4AcWFM

but i faced an unfortunate complication, what i would like to do is to
send a function to another host, no matter if the function is locally
declared or at the top level.

In seems to me that in cloud haskell library the function's closures
can be computed only with top-level ones, is it possible to compute
the closure at runtime of any function and to send it to another host?

here's the code that i would like to compile:
http://pastebin.com/7F4hs1Kk


thank you all in advance!
Fred



More information about the Haskell-Cafe mailing list