In the shell you can string commands together, separated by a semicolon:
cd ../haskell; rm ./foo; ghc foo.hs; cd ../original_directory
It would be great if you could do a similar thing for command-line arguments for ghci, e.g.
ghci Foo.hs; a <- getFoo; print a
Is this possible?