[plt-scheme] Re: I/O therefore no local

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Mon Mar 1 08:24:27 EST 2010

On Mar 1, 2010, at 7:34 AM, wooks wrote:

> @Matthias
> 
> My students are more likely to encounter questions based on file I/O
> and arrays than lists. Chances are good that the need for local and
> file I/O will arise in the same question.

I don't see how this is a comment for me. But since you addressed it 
to me, I think the proper response is 

   teach them Fortran 

In addition to what Robby mentioned, you will find these in ASL: 

  with-input-from-file 
  with-input-from-string 
  with-output-to-file 
  with-output-to-string 

It makes formulating test cases straightforward. 

Good luck sending your students back into the 1970s -- Matthias



Posted on the users mailing list.