[Swift-devel] strcat
Ben Clifford
benc at hawaga.org.uk
Wed Apr 18 12:54:32 CDT 2007
I've made some changes, uncommitted, that let you write something like
this:
===
type file {};
(file i) p() {
app {
echo "hi" stdout=@filename(i);
}
}
file q <"volume.blah">;
file r <single_file_mapper;file=@strcat("foo", at filename(q))>;
q=p();
r=p();
===
This will create two files, once called "volume.blah" and one called
"foovolume.blah".
The point of this is to support the use cases from Tibi and Nika that
motivated bug 24, one of the 0.2 target features.
So now I guess I should see if this functionality is actually helpful for
them in terms of expressing those workflows more concisely...
--
More information about the Swift-devel
mailing list