[gambit-list] Importing srfis?

Marc Feeley feeley at iro.umontreal.ca
Tue Aug 6 12:57:42 EDT 2013


On 2013-08-06, at 11:58 AM, Dirk Theisen <d.theisen at objectpark.org> wrote:

> Hi!
> 
> Am 06.08.2013 um 17:20 schrieb Marc Feeley <feeley at iro.umontreal.ca>:
> 
>> You should also check out the Gambit dumping grounds for a "pure Gambit" set of SRFIs:
>> 
>> http://dynamo.iro.umontreal.ca/wiki/index.php/Dumping_Grounds#SRFI
> 
> Downloading and putting Srfi1.scm into my sources directory worked.
> However, I feel that this is not the most elegant solution.
> 

Can you explain what you mean by "elegant" solution?

With the SRFI pack you could do:

% tar zxf Srfi-pack-0-1.1.tar.gz 
% gsi
Gambit v4.7.0

> (load "srfi-pack/srfi-1.scm")
"/Users/feeley/srfi-pack/srfi-1.scm"
> (count odd? '(3 1 4 1 5 9 2 6))
5

Marc




More information about the Gambit-list mailing list