slib-discuss
[Top][All Lists]
Advanced

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

Re: [Slib-discuss] Array procedures in guile-2.init


From: Aubrey Jaffer
Subject: Re: [Slib-discuss] Array procedures in guile-2.init
Date: Sat, 09 Feb 2013 22:28:21 -0500

Andrew Bernard <address@hidden> writes:

 | Re slib 3b3-1 with guile 2.0.7, the file guile-2.init causes multiple
 | failures when using the slib module, in relation to array procedures.
 | The guile-2.init file contains a lot of code that redefines existing
 | array procedures, and some of these procedures refer to
 | list->uniform-array, which as far as I can determine was deprecated
 | in 2008 and no longer present in guile.

 | After a lot of tinkering - I am new to Scheme - I have arrived at a
 | solution that involves removing all of the array code from
 | guile-2.init.

 | The question is, why is this code for arrays there in the first
 | place, and why at this point does it use non-existent procedures such
 | as list->uniform array? I am having difficulty understanding this,
 | and hence I am not certain that my removal of all array code in the
 | init file the correct solution.

 | Can anybody help?

If ARRAY and ARRAY-FOR-EACH are removed from the definition of
SLIB:FEATURES, then the array procedures will be defined from the
portable implementation in SLIB (when they are REQUIREd).  The array
performance will be slower than a native implementation, but it will
work.



reply via email to

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