
10 Feb
2005
10 Feb
'05
5:29 p.m.
Simon Marlow writes:
The general syntax of package ids is:
pkgid ::= pkg ('-' version)? pkg ::= (alphanum|'-')+ version ::= (digit+) ('.' digit+)* ('-' alphanum+)*
Thanks. I gave my package the version "hsdns-0.0-2005-02-10" and that fixed the problem.
Perhaps we should change the syntax of package ids though?
In my humble opinion, GHC shouldn't try to guess what version identifiers mean; I would treat them as a literal strings without any parsing. But that's probably just me. Anyway, thanks for the clarification. Peter