guile-devel
[Top][All Lists]
Advanced

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

Re: Planning work


From: Neil Jerram
Subject: Re: Planning work
Date: 28 Apr 2001 09:46:28 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Thomas" == Thomas Bushnell, BSG <address@hidden> writes:

    Thomas> In Lisp, symbols are localized in modules by :
    Thomas> syntax...generally you ask for symbol foo in module bar
    Thomas> with the syntax bar:foo.

    Thomas> Is that syntax in use in guile?  I see it, but is it
    Thomas> merely a convention, or does it have syntactic import the
    Thomas> way it does in Lisp?

No.  In Guile, : tends to be used for procedures that access one field
of something like a structure or record, for example `stat:atime':

guile> (stat ".")
($ 1) => #(772 1278104 16877 21 1000 1000 0 4096 988447364 988447084 988447084 
4096 8 directory 493)
guile> (stat:atime (stat "."))
($ 2) => 988447364
guile> 

Regards,
        Neil




reply via email to

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