Generated: March 11, 2000, 16:05:44Copyright © 2000, Kurt NørmarkThe local LAML software home page

Reference Manual of the MzScheme compatibility library

Kurt Nørmark ©    normark@cs.auc.dk    Department of Computer Science    Aalborg University    Denmark    

Master index               Source file: lib4/compatibility/windows_nt40_mzscheme.scm

MzScheme specific stuff to be loaded for compatibility. This file implements each of the necessary non-R4RS functions mentioned in the root documentation of the LAML system. Notice that some of the non-standard Scheme functions used in LAML already happens to exist in MzScheme. These are file-exists?, delete-file, copy-file, and directory-exists?

Table of Contents:
1. Definition of non-R4RS Scheme functions.2. LAML specific, context definition functions.

Alphabetic index:
current-time(current-time)Return the current time in seconds
fake-startup-parameters(fake-startup-parameters source-file startup-dir)Fake the contextual startup parameters to a specific source file name and a specific startup directory.
laml-canonical-command-line(laml-canonical-command-line)Return the contextual command line information passed to LAML upon activation.
mail(mail receiver title contents)Mail sending support: Send an email to a receiver.
make-directory-in-directory(make-directory-in-directory in-directory-path new-dir)Make a new directory, new-dir, in the directory path (first parameter).
sort-list(sort-list list com)Sort list using the comparison predicate

 

1.   DEFINITION OF NON-R4RS SCHEME FUNCTIONS.
The functions in this section af general purpose functions which happen not to be in the Scheme standard (R4RS).


current-time



Form
(current-time)

Description
Return the current time in seconds


sort-list



Form
(sort-list list com)

Description
Sort list using the comparison predicate


make-directory-in-directory



Form
(make-directory-in-directory in-directory-path new-dir)

Description
Make a new directory, new-dir, in the directory path (first parameter). The parameter in-directory-path ends in a slash.


mail



Form
(mail receiver title contents)

Description
Mail sending support: Send an email to a receiver. Not implemented in MzScheme.


 

2.   LAML SPECIFIC, CONTEXT DEFINITION FUNCTIONS.
The functions in this section return and define the activation context of the LAML processor.


laml-canonical-command-line



Form
(laml-canonical-command-line)

Description
Return the contextual command line information passed to LAML upon activation. Returns a list of lenght three, or #f if no command line activation exists. The first element must be the symbol laml. Element number two must be the laml source file name (witout extension and initial path). Element number three must be a slash terminated directory, in the source file resides. This function must be redefined in scheme-system dependent compatibility file.


fake-startup-parameters



Form
(fake-startup-parameters source-file startup-dir)

Description
Fake the contextual startup parameters to a specific source file name and a specific startup directory. Both of the parameters must be strings, or the boolean value #f (in case the informations are unknown). This function is useful for programmatic startup of LAML. This function must be redefined in scheme-system dependent compatibility file


Generated: March 11, 2000, 16:05:44
This documentation has been extracted automatically from the Scheme source file by means of the Schemedoc tool