[Swift-devel] app {} syntax

Ben Clifford benc at hawaga.org.uk
Wed Oct 22 12:29:11 CDT 2008


I added a new syntax for delcaring app invocations. You can now say


app (file myfile) p() {
  echo "hi" stdout=@myfile;
}

instead of 

(file myfile) p() {
  app {
    echo "hi" stdout=@myfile;
  }
}

The old syntax still works, though I think it should be made to disappear 
in the next 6 months or so.

-- 




More information about the Swift-devel mailing list