Wed, 08 Mar 2000 15:57:45 +0100, Sven Panne <[EMAIL PROTECTED]> 
pisze:

> > Shouldn't foreign exported names be allowed to be qualified?
> 
> IMHO not:
> 
>    module Foo where
>    Foo.f = "This is not allowed, either."

Foreign export does not define a function - it mentions an existing
function for exporting.

Qualified names are allowed in export list in a module header.
Function from another module can be exported too.

Not that I desperately need exporting functions with ambiguous names :-)

> There is discrepancy between the names allowed for ccall{,GC_}
> and the foreign family. In the former case varids and conids are
> allowed, in the latter only varids. My suggestion: Allow both kinds
> of names for foreign, too, and do no mangling at all.

Functions syntactically looking like constructors? Weird for me...

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/              GCS/M d- s+:-- a22 C+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                  W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

Reply via email to