On Sat, Oct 11, 2014 at 10:10 AM, Francesco Bonazzi <franz.bona...@gmail.com> wrote: > > On Saturday, October 11, 2014 3:07:48 PM UTC+2, Erik Schnetter wrote: >> >> (1) Staged functions are evaluated when the function's types are >> known. They are somewhat in between macros and functions, but still >> operate on expressions instead of values. >> > > Are staged functions able to get the whole expression tree with type > markings?
No, they only know the types with which the function is called. In general, the types of new expressions that are generated cannot be known until they are evaluated. -erik >> (2) One could (and maybe should) use different operators for matrix >> multiplication than the standard :* asterisk. I guess Matlab >> compatibility weighs heavy, but there is also much to be said about a >> more concise syntax since Julia has more operators available >> (unicode!). > > > I think that it would be preferable to use the asterisk :* as a generic > multiplication operator, multiple dispatching should handle the use cases. -- Erik Schnetter <schnet...@cct.lsu.edu> http://www.perimeterinstitute.ca/personal/eschnetter/