#
PLT MzLib: Libraries Manual

PLT (scheme@plt-scheme.org)

Version 203
December 2002

Copyright notice
Send us your Web links
Thanks

1 MzLib

2 `awk.ss`: Awk-like Syntax

3 `class.ss`: Classes and Objects
3.1 Object Example
3.2 Creating Interfaces
3.3 Creating Classes
3.3.1 Initialization Variables
3.3.2 Fields
3.3.3 Methods
3.3.3.1 Method Definitions
3.3.3.2 Inherited and Superclass Methods
3.3.3.3 Internal and External Names
3.4 Creating Objects
3.5 Field and Method Access
3.5.1 Methods
3.5.2 Fields
3.5.3 Generics
3.6 Object Utilities

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

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

6 `cm.ss`: Compilation Manager

7 `cmdline.ss`: Command-line Parsing

8 `compat.ss`: Compatibility

9 `compile.ss`: Compiling Files

10 `contracts.ss`: Contracts
10.1 Flat Contracts
10.2 Function Contracts
10.3 Attaching Contracts to Scheme Values
10.4 Contract Utility

11 `date.ss`: Dates

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

13 `defmacro.ss`: Non-Hygienic Macros

14 `etc.ss`: Useful Procedures and Syntax

15 `file.ss`: Filesystem Utilities

16 `include.ss`: Textually Including Source

17 `inflate.ss`: Inflating Compressed Data

18 `list.ss`: List Utilities

19 `match.ss`: Pattern Matching
19.1 Patterns
19.2 Examples

20 `math.ss`: Math

21 `pconvert.ss`: Converted Printing

22 `pregexp.ss`: Perl-Style Regular Expressions
22.1 Introduction
22.2 Regexp procedures
22.2.1 `pregexp`
22.2.2 `pregexp-match-positions`
22.2.3 `pregexp-match`
22.2.4 `pregexp-split`
22.2.5 `pregexp-replace`
22.2.6 `pregexp-replace*`
22.2.7 `pregexp-quote`
22.3 The regexp pattern language
22.3.1 Basic assertions
22.3.2 Characters and character classes
22.3.2.1 Some frequently used character classes
22.3.2.2 POSIX character classes
22.3.3 Quantifiers
22.3.3.1 Numeric quantifiers
22.3.3.2 Non-greedy quantifiers
22.3.4 Clusters
22.3.4.1 Backreferences
22.3.4.2 Non-capturing clusters
22.3.4.3 Cloisters
22.3.5 Alternation
22.3.6 Backtracking
22.3.6.1 Disabling backtracking
22.3.7 Looking ahead and behind
22.3.7.1 Lookahead
22.3.7.2 Lookbehind
22.4 An extended example

23 `pretty.ss`: Pretty Printing

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

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

26 `sendevent.ss`: AppleEvents
26.1 AppleEvents

27 `shared.ss`: Graph Constructor Syntax

28 `spidey.ss`: MrSpidey Annotations

29 `string.ss`: String Utilities

30 `thread.ss`: Thread Utilities

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

32 `traceld.ss`: Tracing File Loads

33 `transcr.ss`: Transcripts

34 `unit.ss`: Core Units
34.1 Creating Units
Examples
34.2 Invoking Units
Examples
34.3 Linking Units and Creating Compound Units
Examples
34.4 Unit Utilities

35 `unitsig.ss`: Units with Signatures
35.1 Importing and Exporting with Signatures
35.2 Signatures
35.3 Signed Units
35.4 Linking with Signatures
35.5 Restricting Signatures
35.6 Embedded Units
35.7 Signed Compound Units
35.8 Invoking Signed Units
35.9 Extracting a Primitive Unit from a Signed Unit
35.10 Adding a Signature to Primitive Units
35.11 Expanding Signed Unit Expressions

Index

## Copyright notice

Copyright ©1996-2002 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, 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 Wednesday, December 18th, 2002.

Last modified: Wed, Dec 18, 2002, 3:01 pm US/Eastern
HTML conversion by TeX2page 4p14a