[chuck-users] wishlist for the new year

Kassen signal.automatique at gmail.com
Wed Jan 6 12:30:19 EST 2010


What about this:

fun int foo( int arg)
  return 3;

fun void bar( int arg)

fun void bar ( fun arg)

1 => foo => bar;

Would that print "fun" or "boring"? That last line is a case where we refer
to the function without parentheses yet still expect it to be called and to
return under current syntax.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20100106/565b01d7/attachment.html>

More information about the chuck-users mailing list