guile-user
[Top][All Lists]
Advanced

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

Re: sort procedure in safe environment


From: Martin Grabmueller
Subject: Re: sort procedure in safe environment
Date: Fri, 01 Jun 2001 07:05:23 +0200

> From: Kyle Cronan <address@hidden>
> Date: Thu, 31 May 2001 20:00:22 -0500 (CDT)
> 
> Just wondering, why isn't the sort primitive exported in the
> ice-9/safe-r5rs.scm file?  Needless to say, it's a rather convenient
> procedure to have around, and seems harmless enough.  Should it be added?

IIRC, r5rs.scm is supposed to export only R5RS bindings, and
safe-r5rs.scm exports a safe subset of that.  `sort' isn't in R5RS,
and that's why it isn't exported from these modules.

You should add `sort' (and all other procedures needed) manually to
the public interface of the safe module you use for evaluation.

HTH,
  'martin



reply via email to

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