3 questions on FD.distribute generic

Raphael Collet raph at info.ucl.ac.be
Tue Dec 14 14:50:21 CET 2004


Yonet wrote:
> 
> Can I get external data into the selection function via a port as well as
> sending data?

You have to use Port.sendRecv for this.  (It solves the problem you have
with Port.send.  From inside a computation space, you cannot send a
local variable to the outside via a port.  Otherwise you break some
fundamental properties of computation spaces.)


Cheers,

raph



More information about the mozart-users mailing list