[Haskell-cafe] Re: Packages and modules

Simon Marlow simonmarhaskell at gmail.com
Wed Jul 5 07:40:26 EDT 2006


Ian Lynagh wrote:


> I think I missed where the plan to use quotes came from. What's the
> purpose? Package names already have a well-defined syntax with no spaces
> or other confusing characters in them, so why do we need the quotes? Or
> is it just so we can have packages with the same name as keywords?

I think it's non-trivial to embed the syntax of package names into the 
Haskell grammar.  The version part will sometimes lex as a floating 
point literal, for example.  Ugh.  Strings are much easier.

Cheers,
	Simon


More information about the Haskell-Cafe mailing list