Bug in The Glorious Glasgow Haskell Compilation System User's Guide, Version 6.4

Allen Brown allenbr at microsoft.com
Sat Jul 23 21:07:47 EDT 2005


Section 7.6.1 reads:

	 expression quotation is written in Oxford brackets, thus: 

	*	[| ... |], where the "..." is an expression; the
quotation has type Expr.

On the other hand GHCi 6.4 behaves as follows:

	Prelude V02pIL> :type [|"foo"|]
	[|"foo"|] :: Language.Haskell.TH.Lib.ExpQ

Hence it appears that the implementation does not agree with the
documentation as to what might be the type of a quasi-quoted expression.

Allen L. Brown, Jr., Ph.D.
Senior Software Architect
Bigtop Team
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052-6399
USA
+1 425 705-3290 (voice)
+1 425 985-8961 (mobile)
+1 425 706-7329 (fax)
allenbr at microsoft.com <mailto:allenbr at microsoft.com
<mailto:allenbr at microsoft.com> >  (email)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20050723/342b0720/attachment.htm


More information about the Glasgow-haskell-bugs mailing list