AW: [Click] Using the same element in several compounds
Beyers Cronje
bcronje at gmail.com
Sun Jun 12 23:16:30 EDT 2005
Hi Eddie, Anatolij.
Sorry about that. I clearly missed the question and was refering to
element class configuration parameters and not compount element
fragments.
Beyers
On 6/12/05, Eddie Kohler <kohler at cs.ucla.edu> wrote:
> Hi Anatolij, David, et al.,
>
> No, Beyers, Anatolij and David have a real problem here. Click does not
> currently allow you to give elements or element classes as configuration
> arguments. Right now you have to hook up the elements explicitly:
>
>
> elementclass Foo {
> x :: X();
> }
>
> elementclass Bar {
> // let input[1], [1]output correspond to [0] foo/x [0]...
> whatever ...> [1] output;
> }
>
> f :: Foo;
> b :: Bar;
>
> f -> [1] b [1] -> f;
>
>
> But clearly people need this functionality now, and I've been interested in it
> for a while. I'll put it on the to-do list.
>
> Eddie
>
>
> Anatolij Zubow wrote:
> > Hi,
> >
> > No, we have the following problem:
> >
> > elementclass Foo {
> > x :: X();
> > }
> >
> > elementclass Bar {
> > // how to call foo/x?
> > }
> >
> > foo :: Foo();
> > bar :: Bar();
> >
> > Is it possible to call foo/x within Bar?
> >
> > Greetings,
> > Tolja
> >
> > -----Ursprüngliche Nachricht-----
> > Von: click-bounces at amsterdam.lcs.mit.edu [mailto:click-bounces at amsterdam.lcs.mit.edu] Im Auftrag von Jens Mueller
> > Gesendet: Mittwoch, 8. Juni 2005 15:56
> > An: click at amsterdam.lcs.mit.edu
> > Betreff: [Click] Using the same element in several compounds
> >
> > Hello,
> >
> > I have several compounds that should use the same instance of an
> > element. But it seems not to be possible to pass an element to an
> > elementclass. Only primitive objects like strings and integer are
> > possible. What is the reason for this or did I miss something?
> >
> > Bye,
> > Jens
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
> >
> >
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
>
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
More information about the click
mailing list