Re: [Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread David Barbour
On Sat, Oct 1, 2011 at 4:54 AM, Fred Smith wrote: > > do you know if there is another way either to compute the closure of a > function or to serialize it in order to send the computation to > another host? > You'll need to capture the functions as serializable data while it is being constructed.

Re: [Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread Chris Smith
On Sat, 2011-10-01 at 02:16 -0700, Fred Smith wrote: > 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? The current rule is a bit overl

Re: [Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread Fred Smith
On 1 Ott, 12:03, Erik de Castro Lopo wrote: > I was at the Haskell Symposium where this paper was presented. This > limitation is a known limitation and cannot currently be worked around > other than my moving whatever is required to the top level. > > Erik > -- do you know if there is another

Re: [Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread Yves Parès
I'm curious, what are the advantages of Cloud Haskell over pakages like rpc? Why isn't Cloud Haskell on Hackage? 2011/10/1 Erik de Castro Lopo > Fred Smith wrote: > > > I've built a little program to compute the plus function remotely by > > using Cloud Haskell: > > http://pastebin.com/RK4AcWFM

Re: [Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread Erik de Castro Lopo
Fred Smith wrote: > 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 > decla

[Haskell-cafe] Haskell Cloud and Closures

2011-10-01 Thread Fred Smith
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 seem