#
PLT MzLib: Libraries Manual

PLT (scheme@plt-scheme.org)

Version 204
May 2003

1 MzLib

2 `async-channel.ss`: Buffered Asynchornous Channels

3 `awk.ss`: Awk-like Syntax

4 `class.ss`: Classes and Objects
4.1 Object Example
4.2 Creating Interfaces
4.3 Creating Classes
4.3.1 Initialization Variables
4.3.2 Fields
4.3.3 Methods
4.3.3.1 Method Definitions
4.3.3.2 Inherited and Superclass Methods
4.3.3.3 Internal and External Names
4.4 Creating Objects
4.5 Field and Method Access
4.5.1 Methods
4.5.2 Fields
4.5.3 Generics
4.6 Object, Class, and Interface Utilities

5 `class100.ss`: Version-100-Style Classes

6 `class-old.ss`: Version-100 Classes

7 `cm.ss`: Compilation Manager

8 `cmdline.ss`: Command-line Parsing

9 `cml.ss`: Concurrent ML Compatibility

10 `compat.ss`: Compatibility

11 `compile.ss`: Compiling Files

12 `contract.ss`: Contracts
12.1 Flat Contracts
12.2 Function Contracts
12.3 Class contracts
12.4 Attaching Contracts to Scheme Values
12.5 Contract Utility

13 `date.ss`: Dates

14 `deflate.ss`: Deflating (Compressing) Data

15 `defmacro.ss`: Non-Hygienic Macros

16 `etc.ss`: Useful Procedures and Syntax

17 `file.ss`: Filesystem Utilities

18 `include.ss`: Textually Including Source

19 `inflate.ss`: Inflating Compressed Data

20 `list.ss`: List Utilities

21 `match.ss`: Pattern Matching
21.1 Patterns
21.2 Examples

22 `math.ss`: Math

23 `pconvert.ss`: Converted Printing

24 `pregexp.ss`: Perl-Style Regular Expressions
24.1 Introduction
24.2 Regexp procedures
24.2.1 `pregexp`
24.2.2 `pregexp-match-positions`
24.2.3 `pregexp-match`
24.2.4 `pregexp-split`
24.2.5 `pregexp-replace`
24.2.6 `pregexp-replace*`
24.2.7 `pregexp-quote`
24.3 The regexp pattern language
24.3.1 Basic assertions
24.3.2 Characters and character classes
24.3.2.1 Some frequently used character classes
24.3.2.2 POSIX character classes
24.3.3 Quantifiers
24.3.3.1 Numeric quantifiers
24.3.3.2 Non-greedy quantifiers
24.3.4 Clusters
24.3.4.1 Backreferences
24.3.4.2 Non-capturing clusters
24.3.4.3 Cloisters
24.3.5 Alternation
24.3.6 Backtracking
24.3.6.1 Disabling backtracking
24.3.7 Looking ahead and behind
24.3.7.1 Lookahead
24.3.7.2 Lookbehind
24.4 An extended example

25 `pretty.ss`: Pretty Printing

26 `process.ss`: Process and Shell-Command Execution

27 `restart.ss`: Simulating Stand-alone MzScheme

28 `sendevent.ss`: AppleEvents
28.1 AppleEvents

29 `shared.ss`: Graph Constructor Syntax

30 `spidey.ss`: MrSpidey Annotations

31 `string.ss`: String Utilities

32 `thread.ss`: Thread Utilities

33 `trace.ss`: Tracing Top-level Procedure Calls

34 `traceld.ss`: Tracing File Loads

35 `transcr.ss`: Transcripts

36 `unit.ss`: Core Units
36.1 Creating Units
36.2 Invoking Units
36.3 Linking Units and Creating Compound Units
36.4 Unit Utilities

37 `unitsig.ss`: Units with Signatures
37.1 Importing and Exporting with Signatures
37.2 Signatures
37.3 Signed Units
37.4 Linking with Signatures
37.5 Restricting Signatures
37.6 Embedded Units
37.7 Signed Compound Units
37.8 Invoking Signed Units
37.9 Extracting a Primitive Unit from a Signed Unit
37.10 Adding a Signature to Primitive Units
37.11 Expanding Signed Unit Expressions

## Copyright notice

Copyright ©1996-2003 PLT

Permission to make digital/hard copies and/or distribute this documentation for any purpose is hereby granted without fee, provided that the above copyright notice, author, and this permission notice appear in all copies of this documentation.

## Send us your Web links

If you use any parts or all of the PLT Scheme package (software, lecture notes) for one of your courses, for your research, or for your work, we would like to know about it. Furthermore, if you use it and publicize the fact on some Web page, we would like to link to that page. Please drop us a line at scheme@plt-scheme.org. Evidence of interest helps the DrScheme Project to maintain the necessary intellectual and financial support. We appreciate your help.

## Thanks

Contributors to MzLib include Dorai Sitaram, Gann Bierner, Bruce Hauman, and Kurt Howard (working from Steve Moshier's Cephes library). Publicly available packages have been assimilated from others, including Andrew Wright (`match`) and Marc Feeley (original pretty-printing implementation).

This manual was typest using LATEX, SLaTeX, and `tex2page`. Some typesetting macros were originally taken from Julian Smart's Reference Manual for wxWindows 1.60: a portable C++ GUI toolkit.

This manual was typeset on Thursday, May 1st, 2003.

Last modified: Thurs, May 1, 2003, 11:07 am US/Eastern
HTML conversion by TeX2page 4r8f