Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ucsd!ucsbcsl!eiffel!bertrand From: bertrand@eiffel.UUCP (Bertrand Meyer) Newsgroups: comp.lang.eiffel Subject: Posting on behalf of CNET users Message-ID: <112@eiffel.UUCP> Date: 9 Mar 89 03:25:27 GMT Organization: Interactive Software Engineering, Santa Barbara CA Lines: 70 I received the following message by mail, with a mention that it was meant for posting but did not leave Europe. It seems appropriate to repost it. Apologies to any reader who as a consequence will see the message twice (or more...). I may post a response later. Bertrand Meyer bertrand@eiffel.com ------------ BEGIN REPOSTED MESSAGE ------------------------- Hi, this was posted in comp.lang.eiffel, but there seems that it didn't leave Europe. So I decided to send it to you. Here's the text : We are just beginning to use Eiffel and are confronted with some problems. One of them is the following : We would like to apply routines on sets of objects, but there seems to have problems with types. Here is an example (let us suppose that our set is implemented as a list, and the routine that we want to distribute is like a "procedure") : class A feature set_do_all (action : X) is do from set.start until set.offright loop set.value.action; set.forth; end; end ; -- set_do_all end; -- class A Our problem here is to determine what is X (the type of action). Is there a type "routine" ? If not, we cannot define such a routine. A second problem resides in our need to share objects between two Eiffel process via UNIX sockets. Champ-de-Mars tells that, in release 2.2, the routine Out will permit to flatten an object, i.e. to transform it into a string. So, we can send it to the second process via a socket. How can we recuperate an object at the other side (i.e. to "unflatten" it) ? Perhaps, these questions are not relevant. But can anyone help us ? Any information would be appreciable. Thanks in advance. My electronic address : ...!mcvax!inria!cnetlu!cornily My postal address : Jean-Michel Cornily CNET LAA/SLC/LCM Route de Tregastel 22300 Lannion FRANCE You can reply by mail or news in comp.lang.eiffel By the way, we'd like to know the electronic ou postal address of a French Eiffel users in French Navy : Mr J. Rousselot and M. Larignon. We saw in Champ-de-Mars that they built a real-time graphical simulation application. Maybe, they could help us in the use of graphical classes. Thank you. ------------ BEGIN REPOSTED MESSAGE -------------------------