1 ;;;; mzscheme-ilisp.scm --- ILISP support functions for MzScheme
2 ;;;; Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
4 ;;; Copyright (C) 2000 Matthias Koeppe
6 ;;; This file is part of ILISP.
7 ;;; Please refer to the file COPYING for copyrights and licensing
9 ;;; Please refer to the file ACKNOWLEGDEMENTS for an (incomplete) list
10 ;;; of present and past contributors.
12 ;;; $Id: mzscheme-ilisp.scm,v 1.1 2001-07-02 09:40:50 youngs Exp $
14 (define (ilisp-matching-symbols string package function? external? prefix?)
15 (let loop ((syms (make-global-value-list))
19 (let ((sym-str (symbol->string (caar syms))))
20 (if (and (>= (string-length sym-str) (string-length string))
21 (string=? (substring sym-str 0 (string-length string))
24 (cons (list (symbol->string (caar syms))) result))
25 (loop (cdr syms) result))))))
27 ;;; end of file -- mzscheme-ilisp.scm --