[Swift-devel] req: int2string
Ben Clifford
benc at hawaga.org.uk
Tue Mar 20 14:47:31 CDT 2007
what is line 19? (and the line before and after?)
On Tue, 20 Mar 2007, Tiberiu Stef-Praun wrote:
> Could not compile SwiftScript source: line 19:53: unexpected token: @
>
> :)
>
>
> On 3/20/07, Mihael Hategan <hategan at mcs.anl.gov> wrote:
> > @string(i)
> >
> > On Tue, 2007-03-20 at 14:42 -0500, Tiberiu Stef-Praun wrote:
> > > On 3/20/07, Yong Zhao <yongzh at cs.uchicago.edu> wrote:
> > > > you can use a simple mapper
> > > >
> > > > solution<simple_mapper;prefix=i, suffix=".out">;
> > >
> > > Execution failed:
> > > java.lang.ClassCastException
> > >
> > > :)
> > >
> > > >
> > > > Yong.
> > > >
> > > > On Tue, 20 Mar 2007, Tiberiu Stef-Praun wrote:
> > > >
> > > > > Would like to do something like this:
> > > > >
> > > > > foreach int i in 0..35 {
> > > > > file
> > > > >
> > solution<regexp_mapper;source=int2string(i),match="(.*)",transform="\1.out">;
> > > > > solution = invoke($i);
> > > > > }
> > > > >
> > > > > Reason:
> > > > > I need to control (differentiate) the name of the outputs that are
> > > > > being generated in the loop such that they do not overwrite themselves
> > > > > when they are staged out.
> > > > >
> > > > > Any alternatives ?
> > > > >
> > > > > Tibi
> > > > >
> > > > > --
> > > > > Tiberiu (Tibi) Stef-Praun, PhD
> > > > > Research Staff, Computation Institute
> > > > > 5640 S. Ellis Ave, #405
> > > > > University of Chicago
> > > > > http://www-unix.mcs.anl.gov/~tiberius/
> > > > > _______________________________________________
> > > > > Swift-devel mailing list
> > > > > Swift-devel at ci.uchicago.edu
> > > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> > > > >
> > > >
> > >
> > >
> >
> >
>
>
>
More information about the Swift-devel
mailing list