[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please drop the ^main^ thing
- To: srfi-103@xxxxxxxxxxxxxxxxx
- Subject: Please drop the ^main^ thing
- From: Abdulaziz Ghuloum <aghuloum@xxxxxxxxx>
- Date: Fri, 25 Sep 2009 03:21:06 +0300
- Cc: Abdulaziz Ghuloum <aghuloum@xxxxxxxxx>
- Delivered-to: srfi-103@xxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:cc:to :mime-version:x-mailer; bh=p/FaVLhcwV1YSrWGcx+1K8BnW2p9uOTlhH42+t8LYDM=; b=pSTfdcasM3a61EIssD/yL9gU58Nby5AFAxHmRkCxolDuIMBLSSOWKmuRlDPMSg3wwl 63eCDepSOTR8T+vpdClr/Ats0ywQ6BZa3uQrrvuhOHBKALKXuhHuKB3003dU8nqdlRi/ Ku72AwWE9fE692Fv6RRLz9Wk+ZDwz3IoVRUjI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version:x-mailer; b=YZeQPRASv9hvMP5PLoSUbahAqor4TwyPQPWCFj76LB5YyTEw4EvG/n0qr2QwLNcE36 Byze6EOeT4i2jtINU2wJ3iLIzugEQsJ0eDhSEfsNs4h+RsdUM6Uddy0T82ld4utc+U6q gHnXwPoCaM/zCDRt+Z1JpawfZ/YX2sj/+CoqM=
I understand why it may seem like a good idea to have
(foo) => "foo/main.sls"
in addition to the usual
(foo) => "foo.sls" mapping.
[I added it to Ikarus to be compatible with PLT, and thought
it was a good idea at the time]
Now "foo/main.sls" has serious problems, mainly, when you have
libraries names (foo main). The workarounds are well known,
and so are the problems associated with them.
It seems to me that this ^main^ convention is beneficial only
to libraries whose names is a single component, e.g., (foo).
Libraries distributed in a collection do have a common prefix
and don't usually need an implicit ^main^ file. (right?)
I also noticed that the two carets are very disturbing and this
might have severe long-term effect on your visual apparatus
(maybe more than Scheme's excessive use of hash marks).
I think the second reason by itself is sufficient to drop the
caret-main-caret convention, but would like to know what others
think. Are the benefits worth the complications? Should they
be dropped or kept?
Aziz,,,