Допис з розмови
reads
Path: g2news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.visyn.net!open-news-network.org!visyn.net!not-for-mail
From: "Mark T.B. Carroll" <Mark.Carr...@Aetion.com>
Newsgroups: comp.lang.haskell
Subject: Re: reads
Date: Thu, 11 Jun 2009 10:27:47 -0400
Organization: Aetion Technologies LLC, Ohio, USA
Lines: 19
Message-ID: <87ski6c0bg.fsf@ixod.org>
References: <79ci0lF1pj6nuU1@mid.dfncis.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: hoshi.visyn.net GaYuoYksWYI2lfA7R6s/CBTczoWgBw7gGlBGQfk/Tok=
X-Complaints-To: abuse@open-news-network.org
NNTP-Posting-Date: Thu, 11 Jun 2009 14:27:47 +0000 (UTC)
X-User-ID: ZXbZtbXHXlKw79K4ai285bEQjEarSkFibRHWL9q61O0=
Cancel-Lock: sha1:iMpFbhHc0sj33pOQZfie5vtYfW8=
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Frank Poettgen <Frank.Poett...@Post.RxWyTxH-AyAzCyHzEyN.de> writes:
> I would expect
>
> reads "1.2" :: [(Int,String)]
>
> to be evaluated to
>
> [(1,".2")]
>
> but using Hugs (Version Sep 2006) it is just
>
> []
>
> Bug or feature?
Good question. GHCi, version 6.8.2, agrees with Hugs.
Mark