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

From: wooks (wookiz at hotmail.com)
Date: Mon Mar 1 07:34:17 EST 2010


On Mar 1, 12:04 pm, Robby Findler <ro... at eecs.northwestern.edu> wrote:
> The advanced student language has printf and read.

Sorry for my loose lips. I meant file I/O.

> The beginning
> student language has the world and universe teachpacks (network
> programming is a form of IO after all).

hmmm we have enough problems with abstraction as it is.

> Also note that you can use
> local in #lang scheme. This:
>
>   #lang scheme
>   (local ((define x 1)) x)
>
> produces 1.
>

Then I'll have to explain #lang scheme (I've never used it myself).
Aren't we straying into the realm of the proprietary here? (that was
not rhetorical). I'm not in the position of teaching a Scheme course.

@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.




Posted on the users mailing list.