chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Module naming conventions in R7RS


From: Seth Alves
Subject: Re: [Chicken-users] Module naming conventions in R7RS
Date: Sat, 08 Mar 2014 08:35:11 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Among the 4 r7rs schemes I've been working with (chibi chicken gauche sagittarius) there are various ways to refer to the srfis: (srfi-17) (srfi :17) etc.  At this point, they all support (srfi 17), so I've been using that.  I don't really care which form is standard, but I'm excited about reducing use of cond-expand in imports.

    -seth


On 03/08/2014 08:06 AM, Daniel Carrera wrote:
Hello,

The R7RS-small spec does not seem to suggest a naming convention for modules. It merely says that <module name> is a list of identifies. I take that to mean that the following are equally valid:

(import (srfi/17))
(import (srfi 17))
(import (srfi schemers org 17))
(import (org schemers srfi 17))

I suppose that it is better to under-specify than over-specify, but I was wondering if there is a de-facto convention that everyone knows and I missed. The only guidance I found is that Chibi Scheme turns (foo bar biz) into "foo/bar/biz.sld". From that, I think the most logical conventions are:

(import (srfi 17))
(import (org schemers srfi 17))

Has Chicken decided how it wants to name modules?

Cheers,
Daniel.
--
When an engineer says that something can't be done, it's a code phrase that means it's not fun to do.


_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]