Fucking good answer in no-time ! I fucking love this list !<div><br></div><div>Actually i would love to know more about chuck source code so i could somehow help to improve. </div><div><br></div><div>I swear chuck is in my priority list, was love at first sight.</div>

<div><br></div><div>lets keep this list hot ( :<br><br><div class="gmail_quote">On 22 May 2012 23:19, Michael Heuer <span dir="ltr"><<a href="mailto:heuermh@gmail.com" target="_blank">heuermh@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">henrique matias wrote:<br>
<br>
> This is a question Chris did to me and it reminded me some related questions<br>
> i forgot to ask:<br>
><br>
> Is there a type "function" or type "Class" ?<br>
<br>
</div>Class yes, function no unfortunately.  The workaround I use is small<br>
"functor" classes, similar in style to inner classes in java.  E.g.<br>
<br>
<a href="https://github.com/heuermh/lick/blob/c3ad1e94a226001b4c6229fb0c741cef046f743c/Arpeggiators.ck" target="_blank">https://github.com/heuermh/lick/blob/c3ad1e94a226001b4c6229fb0c741cef046f743c/Arpeggiators.ck</a><br>


<a href="https://github.com/heuermh/lick/blob/c3ad1e94a226001b4c6229fb0c741cef046f743c/Loops.ck" target="_blank">https://github.com/heuermh/lick/blob/c3ad1e94a226001b4c6229fb0c741cef046f743c/Loops.ck</a><br>
<br>
Some doc here (that needs a lot of updating)<br>
<br>
<a href="https://github.com/heuermh/lick/wiki" target="_blank">https://github.com/heuermh/lick/wiki</a><br>
<div class="im"><br>
<br>
> Is there anyway for "evaluating" a string to chuck code in order to do<br>
> dynamic calls ( like javascript "eval" function for instance ) ?<br>
<br>
</div>You might be able to hack this by writing to a temp file and Machine.add'ing it.<br>
<br>
   michael<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br></div>