PLT MzLib: Libraries Manual

PLT ( 

Released December 2004

    1  MzLib

    2 Buffered Asynchronous Channels

    3 Awk-like Syntax

    4 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
        Method Definitions
        Inherited and Superclass Methods
        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 Version-100-Style Classes

    6 Version-100 Classes

    7 Compilation Manager

    8 Compilation Manager Hook for Syntax Transformers

    9 Command-line Parsing

    10 Concurrent ML Compatibility

    11 Compatibility

    12 Compiling Files

    13 Contracts
        13.1  Flat Contracts
        13.2  Function Contracts
        13.3  Object and Class Contracts
        13.4  Attaching Contracts to Values
        13.5  Contract Utility

    14 Dates

    15 Deflating (Compressing) Data

    16 Non-Hygienic Macros

    17 Useful Procedures and Syntax

    18 Filesystem Utilities

    19 Textually Including Source

    20 Inflating Compressed Data

    21 List Utilities

    22 Pattern Matching
        22.1  Patterns
        22.2  Examples

    23 Math

    24 Local-Definition Scope Control

    25 Converted Printing

    26 Pattern Matching

    27 Perl-Style Regular Expressions
        27.1  Introduction
        27.2  Regexp procedures
            27.2.1  pregexp
            27.2.2  pregexp-match-positions
            27.2.3  pregexp-match
            27.2.4  pregexp-split
            27.2.5  pregexp-replace
            27.2.6  pregexp-replace*
            27.2.7  pregexp-quote
        27.3  The regexp pattern language
            27.3.1  Basic assertions
            27.3.2  Characters and character classes
        Some frequently used character classes
        POSIX character classes
            27.3.3  Quantifiers
        Numeric quantifiers
        Non-greedy quantifiers
            27.3.4  Clusters
        Non-capturing clusters
            27.3.5  Alternation
            27.3.6  Backtracking
        Disabling backtracking
            27.3.7  Looking ahead and behind
        27.4  An extended example

    28 Pretty Printing

    29 Process and Shell-Command Execution

    30 Simulating Stand-alone MzScheme

    31 AppleEvents
        31.1  AppleEvents

    32 Graph Constructor Syntax

    33 MrSpidey Annotations

    34 String Utilities

    35 Proxy-like Design Pattern

    36 Thread Utilities

    37 Tracing Top-level Procedure Calls

    38 Tracing File Loads

    39 Transcripts

    40 Core Units
        40.1  Creating Units
        40.2  Invoking Units
        40.3  Linking Units and Creating Compound Units
        40.4  Unit Utilities

    41 Units with Signatures
        41.1  Importing and Exporting with Signatures
        41.2  Signatures
        41.3  Signed Units
        41.4  Linking with Signatures
        41.5  Restricting Signatures
        41.6  Embedded Units
        41.7  Signed Compound Units
        41.8  Invoking Signed Units
        41.9  Extracting a Primitive Unit from a Signed Unit
        41.10  Adding a Signature to Primitive Units
        41.11  Expanding Signed Unit Expressions

Copyright notice

Copyright ©1996-2004 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 Evidence of interest helps the DrScheme Project to maintain the necessary intellectual and financial support. We appreciate your help.


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 typeset 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 Friday, December 17th, 2004.

Last modified: Friday, December 17th, 2004
HTML conversion by TeX2page 2004-09-11