> Another question, is it possible to split a module into multiple files? I 
> recall seeing some notes about this implying that this isn't 
> supported yet, but just wanted to make sure.

It is not at present within Chapel (one could of course run preprocessors 
before passing files to Chapel).  We've long planned to have an 'include' 
statement (as in C or LaTeX), but were not able to implement it due to our 
traditional use of bison.  Recent changes in how we use bison are expected to 
simplify the implementation of this feature but it's a ways out yet.

Back to your earlier comment about wanting to query in a method whether a 
default argument had been provided in a class constructor -- I don't personally 
currently envision the feature being rich enough to do that directly.  Of 
course, the user could tuck the result of the query away in the class members.

-Brad

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to