|
From: | David Kastrup |
Subject: | Re: Pattern-generating Scheme function challenge |
Date: | Sun, 21 Jul 2013 07:49:35 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Thomas Morley <address@hidden> writes: > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > %% definitions, helpers and functions > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > %% c/p from lily-library.scm > %% Why not public? > #(define (list-minus a b) > "Return list of elements in A that are not in B." > (lset-difference eq? a b)) Not public because it is trivial and not discoverable. People looking through GUILE documentation will find and use lset-difference. There is a lot of cruft in lily-library like that which should really be thrown out. Making it public would be a step in the wrong direction since then people may start depending on it. -- David Kastrup
[Prev in Thread] | Current Thread | [Next in Thread] |