[chuck-users] wishlist for the new year

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


Mike;

What about this:
>
>
Well;

fun int foo( int arg)
  {
  return 3;
  }

fun void bar( int arg)
  {
  <<<"boring">>>;
  }

//overload
fun void bar ( fun arg)
  {
  <<<"fun">>>;
  }

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.

Yours,
Kas.
-------------- 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