[Swift-devel] more remote side mapping thoughts

Ben Clifford benc at hawaga.org.uk
Fri Mar 2 20:01:29 CST 2007


I was chatting with Nika earlier and she suggested that it might be nice 
to write something like this: (I trimmed it a bit)

(file prt_files[]) GENERATOR (string s1, string s2, string s3) {
 app {
       fe_pl "--nosite" "--gaff" @s1 "--stitle" @s2 "--minstep" @s3;
       prt_files <filesys_mapper;pattern="*prt*",location=".">; 
     }
}

to mean "fe_pl generates some (unknown) number of files, all of the form 
*prt*, and those files should map to the array specified as the return 
parameter".

It seems sort-of intuitive.

-- 



More information about the Swift-devel mailing list