[Swift-devel] folding/sequential-while/whatever and accessing data in files

Ben Clifford benc at hawaga.org.uk
Fri Sep 7 07:07:02 CDT 2007



On Fri, 7 Sep 2007, Michael Wilde wrote:

> (int error, string perror, SomeFile next ) new_approximation (previous)
> {
>   app RETVAL { ... }
> }
> 
> The RETVAL keyword (caps mine) would signify that the app will produce a
> RETVAL file and that the runtime system should use this file to set return
> values as it indicates.

That's very similar to execute-side mapping (which has been discussed) + 
application-side filecontent->value mapping.

In the syntax example above, there's no place to specify the format in 
which the return value file is to be converted into the three swift values 
(int error, string perror, SomeFile next ).

-- 



More information about the Swift-devel mailing list