[kepler-dev] Re: type signatures in the expression language

Bertram Ludaescher ludaesch at sdsc.edu
Sat Jul 31 11:44:59 PDT 2004


>>>>> "EAL" == Edward A Lee <eal at eecs.berkeley.edu> writes:
EAL> 
EAL> At 11:15 AM 7/30/2004 -0700, Tobin Fricke wrote:
>> Specific application: say I have an array x={double} and y={double} and I
>> want to produce {{x=double,y=double,z=double}} for all pairs of values
>> (x,y) and with z = f(x,y) for a function f.  Can/should this be described
>> in the expression language or should I just write the java actor?
EAL> 
EAL> Ideally, this would be easily done in the expression language.
EAL> However, I don't think we have the suite of primitives there yet...
EAL> A systematic development of a good suite of array primitives and
EAL> higher-order functions (we have map, but not zip, scan, etc.)
EAL> is sorely needed...


I agree -- this would be wonderful to have! Just recently we had a
need for a combination of 'filter p xs' followed by 'take n' that
would benefit from such higher-order capabilities.

Bertram

EAL> 
EAL> Edward
EAL> 
EAL> 
EAL> 
EAL> ------------
EAL> Edward A. Lee, Professor
EAL> 518 Cory Hall, UC Berkeley, Berkeley, CA 94720
EAL> phone: 510-642-0455, fax: 510-642-2739
EAL> eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal
EAL> 
EAL> _______________________________________________
EAL> kepler-dev mailing list
EAL> kepler-dev at ecoinformatics.org
EAL> http://www.ecoinformatics.org/mailman/listinfo/kepler-dev



More information about the Kepler-dev mailing list