Hi,

We've been learning and playing around with Chapel the last
month and have come up with a long list of questions and
comments (and some bugs that we'll post to chapel-bugs).  It
might be best to split them into several different e-mails
so it wouldn't be overwhelming, and we'll submit them over
the next few days.

About the language and spec:

1. Is it possible to have the select statement warn or raise
    an error if all the members of an enum aren't handled?

2. Why does the select .. otherwise case only allow a single
    statement?  (We've had to use an if..then chain a few times
    because of this.)

3. Can you access the size of a tuple with a query?  Something
    like
      proc p(pt : ?ndim * int) {
        writeln("dimensionality of point is ", ndim);
      }
    doesn't compile with the message "syntax error: near '*'".

4. Does a domain slice form a subdomain?  It's not clear in the
    spec.

5. Are constants in a class only accessible from an instance
    (which the spec seems to say is the case)?  We were looking
    for something like a static class member in Java, but there
    was an instance available in the code at that point to get
    the constant values.

Thanks in advance!

Greg K.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to