[chuck-users] chuck_rational and chuck_performance_setup on github

Robert Poor rdpoor at gmail.com
Sun Apr 10 19:38:00 EDT 2011


Thank you.  Re "global functions": I believe the ChucK approved method is to
declare them as static methods in the class of your choice.  As an example,


(aka lib/util.ck) which defines a bunch of methods that I use throughout the

- Rob

On Sun, Apr 10, 2011 at 13:07, Harald Gutsche <hg42 at gmx.net> wrote:

> > * https://github.com/rdpoor/chuck_performance_setup
> > Share and enjoy (code and comments, etc)
> wow, looks like a nice setup...
> and a huge chunk of code to discover...thanks...
> I think, this will answer many question before even asking them :-)
> Like the one I had some seconds before:
> "can I include a chuck file? or how can I import functions?".
> Your setup seems to import (public) classes only (which I already
> discovered recently).
> However, I didn't find a way to import global functions. Seems to be
> designed after the java way...
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20110410/a180ad8b/attachment.html>

More information about the chuck-users mailing list