Michele Pes | 11 Jan 18:23 2012
Picon

Listener tuple display

Hi!

If in the listener I define:

TUPLE: foo { s1 initial: 0 } { s2 initial: 1 } ;
foo new

the listener shows:
T{ foo f 0 1 }

where T{ is for tuple, foo is the tuple name and 0 and 1 are the slot
values I think.

What I cannot understand is the f after the tuple name and before the
slot values that I see in all (???) tuples .

Can someone explain me its meaning?

Thank you all,
michele pes

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
David Brown | 11 Jan 19:03 2012

Re: Listener tuple display

On Wed, Jan 11, 2012 at 06:23:46PM +0100, Michele Pes wrote:

>TUPLE: foo { s1 initial: 0 } { s2 initial: 1 } ;
>foo new
>
>the listener shows:
>T{ foo f 0 1 }
>
>where T{ is for tuple, foo is the tuple name and 0 and 1 are the slot
>values I think.
>
>What I cannot understand is the f after the tuple name and before the
>slot values that I see in all (???) tuples .

If you look at the docs for T{, you'll see there are three forms it
can take:

     T{ class }
     T{ class f slot-values... }
     T{ class { slot-name slot-value } ... }

The f indicates that the initializer is in BOA form.  If that argument
is a sequence, it indicates that the initializer is in assoc form,
where the field names are given.

David

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
(Continue reading)

Larry Coleman | 13 Jan 16:08 2012
Picon

File Chooser Dialog

Has any work been done on a file selector dialog in the GUI?

In the alternative, are there any bindings to GTK+ or wxWidgets?

Thanks,

Larry Coleman

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2

Gmane