This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unknown feature name 'srfi-26'


Hello Charles:

Thank you very much for your reply.

In fact, this is the very first time I'm using SRFI-26 in Kawa (I'm porting some
Chicken code).

I've always been able to require some of the other Kawa implemented
SRFI's listed in: 

* http://www.gnu.org/software/kawa/Implemented-SRFIs.html 

with no warnings at all, so this message was a little bit strange to me
(v.gr. in Chicken when you require an already built-in SRFI there are no
warnings).

Maybe we would neeed a point in the Kawa documentation about the already
built-in SRFI's.

Thanks again for your hints.
Greetings.
-- 
Alcides Flores Pineda.

On lun, jul 08 2013, Charles Turner wrote:

> I assume by "contains the following line" you're referring to code
> that used to run without warning, if so, I don't understand that.
> SRFI-26 is not in REQUIRE's feature map by default, so the expression
> (require 'srfi-26) is going to just warn you about its non-exsistence.
>
> CUT and CUTE and actually builtins (Per, why is that, and not part of
> a library instead?) I can't see any removal of srfi-26 mappings from
> the ChangeLogs, so I'm bemused as to how that once worked. Needless to
> say, you can safely remove the line containing (require 'srfi-26) and
> expect to be able to still use the CUT and CUTE forms.
>
> Charles.
>
> On 8 July 2013 03:07, Alcides Flores Pineda <alcides.fp@gmail.com> wrote:
>> Hello everybody:
>>
>> Im running some Kawa code that contains the following line:
>>
>>     (require 'srfi-26)
>>
>> And Im getting the following message:
>>
>>     unknown feature name 'srfi-26' for 'require'
>>
>> However the features of the SRFI-26 (cut/cute macros) are available and
>> they seem to be availabe by default without needing to require them
>> explicitly.
>>
>> Im running kawa 1.13 in Debian Squeeze i386 with Java version 6:
>>   java version "1.6.0_26"
>>   Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
>>   Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
>>
>> Any ideas about this message? Is it possible to supress it? Can it be
>> safely ignored?
>>
>> Greetings.
>> --
>> Alcides Flores Pineda.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]