[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should I add cond-expand to boot-9.scm?
From: |
Neil Jerram |
Subject: |
Re: Should I add cond-expand to boot-9.scm? |
Date: |
11 May 2001 13:57:35 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Martin" == Martin Grabmueller <address@hidden> writes:
>> From: Marius Vollmer <address@hidden> Date: 10 May 2001
>> 23:34:53 +0200
>>
>> Martin Grabmueller <address@hidden> writes:
>>
>> > I have attached my implementation. Do you think this should
>> go into > boot-9.scm?
>>
>> Yes! Nice!
Martin> Done.
Is it right for Guile's features list to include all the srfi-N's
irrespective of whether the corresponding modules have been loaded?
As a user of cond-expand, I'd expect to be able to write something
like this:
(cond-expand
(srfi-19
(define julian-day current-julian-day))
(else
(define (julian-day)
;;; pretend
10352)))
But if I do this without previously having `(use-modules (srfi
srfi-19))', I get an error:
<unnamed port>:1:23: In expression (define julian-day current-julian-day):
<unnamed port>:1:23: Unbound variable: current-julian-day
ABORT: (unbound-variable)
Neil
- Should I add cond-expand to boot-9.scm?, Martin Grabmueller, 2001/05/10
- Re: Should I add cond-expand to boot-9.scm?, Rob Browning, 2001/05/10
- Re: Should I add cond-expand to boot-9.scm?, Marius Vollmer, 2001/05/10
- Re: Should I add cond-expand to boot-9.scm?, Martin Grabmueller, 2001/05/11
- Re: Should I add cond-expand to boot-9.scm?,
Neil Jerram <=
- Re: Should I add cond-expand to boot-9.scm?, Rob Browning, 2001/05/11
- Re: Should I add cond-expand to boot-9.scm?, Martin Grabmueller, 2001/05/14
- Re: Should I add cond-expand to boot-9.scm?, Rob Browning, 2001/05/14
- Re: Should I add cond-expand to boot-9.scm?, Marius Vollmer, 2001/05/14
- Re: Should I add cond-expand to boot-9.scm?, Marius Vollmer, 2001/05/14
- Re: Should I add cond-expand to boot-9.scm?, Rob Browning, 2001/05/14
- Re: Should I add cond-expand to boot-9.scm?, Martin Grabmueller, 2001/05/15
- Re: Should I add cond-expand to boot-9.scm?, Marius Vollmer, 2001/05/15