diff options
author | Thomas Bushnell, BSG <tb@debian.org> | 2005-11-02 14:55:21 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:32 -0800 |
commit | 34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73 (patch) | |
tree | 1189d06a81277bcf8539b0260a69a19f6038effb /manifest.txi | |
parent | 611b3db17894e5fdc0db3d49eaf6743d27b44233 (diff) | |
parent | 5145dd3aa0c02c9fc496d1432fc4410674206e1d (diff) | |
download | slib-34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73.tar.gz slib-34c54a22ff7818bb8b38ef4d9c87dbbcb221ba73.zip |
Import Debian changes 3a2-1debian/3a2-1
slib (3a2-1) unstable; urgency=low
* New upstream release.
* Acknowledge NMU. (Closes: #281809)
* Makefile: Don't hack Makefile; use rules instead.
* debian/rules: Set on make invocations: prefix, htmldir, TEXI2HTML.
* debian/rules (clean): Clean more stuff here.
* Makefile: Comment out old rule for $(htmldir)slib_toc.html. Instead,
specify directly that the texi2html invocation produces that file.
* debian/rules (binary-indep): Find web files in slib subdir.
* debian/control (Build-Depends-Indep): Go back to using scm.
Diffstat (limited to 'manifest.txi')
-rw-r--r-- | manifest.txi | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/manifest.txi b/manifest.txi index e9fe3ee..daa776d 100644 --- a/manifest.txi +++ b/manifest.txi @@ -16,6 +16,7 @@ entries. It would be defined by: Returns a list of the features @code{require}d by @var{file} assuming the predicate @var{provided?} and association-list @var{catalog}. @end defun + @example (define (provided+? . features) (lambda (feature) @@ -34,6 +35,7 @@ predicate @var{provided?} and association-list @var{catalog}. Returns a list of the features @code{require}d by @var{feature} assuming the predicate @var{provided?} and association-list @var{catalog}. @end defun + @example (feature->requires 'batch (provided+? 'compiling) *catalog*) @result{} (tree line-i/o databases parameters string-port @@ -49,12 +51,27 @@ predicate @var{provided?} and association-list @var{catalog}. @end example +@defun feature->requires* feature provided? catalog + +Returns a list of the features transitively @code{require}d by @var{feature} +assuming the predicate @var{provided?} and association-list @var{catalog}. +@end defun + + +@defun file->requires* file provided? catalog + +Returns a list of the features transitively @code{require}d by @var{file} +assuming the predicate @var{provided?} and association-list @var{catalog}. +@end defun + + @defun file->loads file Returns a list of strings naming existing files loaded (load slib:load slib:load-source macro:load defmacro:load syncase:load synclo:load macwork:load) by @var{file} or any of the files it loads. @end defun + @example (file->loads (in-vicinity (library-vicinity) "scainit.scm")) @result{} ("/usr/local/lib/slib/scaexpp.scm" @@ -69,17 +86,22 @@ Given a @code{(load '<expr>)}, where <expr> is a string or vicinity stuff), @code{(load->path <expr>)} figures a path to the file. @code{load->path} returns that path if it names an existing file; otherwise #f. @end defun + @example (load->path '(in-vicinity (library-vicinity) "mklibcat")) @result{} "/usr/local/lib/slib/mklibcat.scm" @end example -@defun file->definitions file +@defun file->definitions file definer @dots{} Returns a list of the identifier symbols defined by SLIB (or -SLIB-style) file @var{file}. +SLIB-style) file @var{file}. The optional arguments @var{definers} should be symbols +signifying a defining form. If none are supplied, then the symbols +@code{define-operation}, @code{define}, @code{define-syntax}, and +@code{defmacro} are captured. @end defun + @example (file->definitions "random.scm") @result{} (*random-state* make-random-state @@ -88,11 +110,15 @@ SLIB-style) file @var{file}. @end example -@defun file->exports file +@defun file->exports file definer @dots{} Returns a list of the identifier symbols exported (advertised) by -SLIB (or SLIB-style) file @var{file}. +SLIB (or SLIB-style) file @var{file}. The optional arguments @var{definers} should be +symbols signifying a defining form. If none are supplied, then the +symbols @code{define-operation}, @code{define}, +@code{define-syntax}, and @code{defmacro} are captured. @end defun + @example (file->exports "random.scm") @result{} (make-random-state seed->random-state @@ -112,10 +138,12 @@ implementing @var{feature}, and the identifier symbols exported (advertised) by SLIB (or SLIB-style) feature @var{feature}, in @var{catalog}. @end defun + @defun feature->exports feature catalog Returns a list of all exports of @var{feature}. @end defun + @noindent In the case of @code{aggregate} features, more than one file may have export lists to report: |