8>Qxd$QC/sdeK{93/{KA]&T@gir{b8(rd5/zL85UcsTGty!z9Nx%Z+0e193YVEXFcWdM.]+uyVYA6 
        WNNn]tdh-oQ]/#\R;Vts^}W]a%+%VqSEAu
X-URL: http://WWW.CS.Yale.EDU/homes/reid-alastair/
Date: Wed, 25 Mar 1998 11:51:40 -0500
From: Alastair Reid <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
Precedence: bulk
Resent-Date:  Wed, 25 Mar 1998 16:52:53 +0000
Resent-From: [EMAIL PROTECTED]
Resent-To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"


[Reply redirected to bug mailing lists and copied to the library czar]

Sigbjorn writes:
> GHC's behaviour [of Prelude.interact] is consistent with the
> report, Hugs' isn't.

Hugs deliberately deviates from the report (ie turns 
echoing off when running interact) because the report is
clearly broken.

The only reason for including "interact" in the Prelude is so
that you can write:

   interact (map toUpper)

and the like.  This is only useful if echoing is turned off - so we do.


Alastair

ps The URL Sigbjorn posted should be:
  
   http://www.dcs.gla.ac.uk/mail-www/haskell/msg00270.html

and this doesn't contain a link to all the followups:

  http://www.dcs.gla.ac.uk/mail-www/haskell/msg00272.html
  http://www.dcs.gla.ac.uk/mail-www/haskell/msg00273.html
  http://www.dcs.gla.ac.uk/mail-www/haskell/msg00277.html

(Sigbjorn: any chance of adding a "possible followups" 
 list as well as the "followups" list?)


Reply via email to