Thomas Morley <thomasmorle...@gmail.com> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user