[Haskell-cafe] Haskell Cloud and Closures

Yves Parès limestrael at gmail.com
Sat Oct 1 13:07:51 CEST 2011


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 <mle+hs at mega-nerd.com>

> 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
> > 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?
>
> 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
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111001/8636f0c6/attachment.htm>


More information about the Haskell-Cafe mailing list