First: thank you, Eduardo; that's a nice little example that happens
to be the first time I've seen the Factor GUI in action (I know, I'm
an inveterate console programmer). I like it. I'm struck by how very
similar it is to the JavaFX UI definition JSON -- pretty much only the
names are different (and of course that fact that JavaFX encodes the
UI as JSON).

Daniel Ehrenberg <[EMAIL PROTECTED]> wrote:
> By the way, you could implement c->f as follows:
> USE: inverse
> : c->f ( c -- f ) [ f->c ] undo ;
> I know it's trivial, but it's fun.

A less trivial use of inverse here would be to write a
"add-bidirectional-invertable-connection" word so that only one
connection needs to be defined between both sliders, and 'inverse' is
automatically used to derive the correspondence between the two
sliders.

I'm not saying it would be USEFUL, just less trivial.

Hmm, I'm also not saying it would be fun. I'll let someone else decide
that for me. :-)

> Dan

-Wm

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to