PLT MzLib: Libraries Manual

PLT ( 

Released November 2006

    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  Mixins
        4.7  Object Serialization
        4.8  Object, Class, and Interface Utilities
        4.9  Expanding to a Class Declaration

    5 Version-100-Style Classes

    6 Compilation Manager

    7 Compilation Manager Hook for Syntax Transformers

    8 Command-line Parsing

    9 Concurrent ML Compatibility

    10 Compatibility

    11 Compiling Files

    12 Contracts
        12.1  Flat Contracts
        12.2  Function Contracts
        12.3  Lazy Data-structure Contracts
        12.4  Object and Class Contracts
        12.5  Attaching Contracts to Values
        12.6  Contract Utility

    13 Control Operators

    14 Dates

    15 Deflating (Compressing) Data

    16 Non-Hygienic Macros

    17 Useful Procedures and Syntax

    18 Filesystem Utilities

    19 Foreign Interface

    20 Textually Including Source

    21 Inflating Compressed Data

    22 Integer Sets

    23 Keyword Arguments
        23.1  Required Arguments
        23.2  Optional Arguments
        23.3  Keyword Arguments
        23.4  Rest and Rest-like Arguments
        23.5  Body Argument
        23.6  Mode Keywords
        23.7  Property Lists

    24 List Utilities

    25 Pattern Matching
        25.1  Patterns
        25.2  Extending Match
        25.3  Examples

    26 Math

    27 MD5 Message Digest

    28 System Utilities

    29 Local-Definition Scope Control

    30 Converted Printing

    31 Converted Printing Property

    32 Pattern Matching

    33 Port Utilities

    34 Perl-Style Regular Expressions
        34.1  Introduction
        34.2  Regexp procedures
            34.2.1  pregexp
            34.2.2  pregexp-match-positions
            34.2.3  pregexp-match
            34.2.4  pregexp-split
            34.2.5  pregexp-replace
            34.2.6  pregexp-replace*
            34.2.7  pregexp-quote
        34.3  The regexp pattern language
            34.3.1  Basic assertions
            34.3.2  Characters and character classes
        Some frequently used character classes
        POSIX character classes
            34.3.3  Quantifiers
        Numeric quantifiers
        Non-greedy quantifiers
            34.3.4  Clusters
        Non-capturing clusters
            34.3.5  Alternation
            34.3.6  Backtracking
        Disabling backtracking
            34.3.7  Looking ahead and behind
        34.4  An extended example

    35 Pretty Printing

    36 Process and Shell-Command Execution

    37 Simulating Stand-alone MzScheme

    38 AppleEvents
        38.1  AppleEvents

    39 Serializing Data

    40 Graph Constructor Syntax

    41 String Utilities

    42 Structure Utilities

    43 Syntax Parameters

    44 Proxy-like Design Pattern

    45 Creating tar Files

    46 Thread Utilities

    47 Tracing Top-level Procedure Calls

    48 Tracing File Loads

    49 Object-Oriented Traits

    50 Transcripts

    51 Core Units
        51.1  Creating Units
        51.2  Invoking Units
        51.3  Linking Units and Creating Compound Units
        51.4  Unit Utilities

    52 Units with Signatures
        52.1  Importing and Exporting with Signatures
        52.2  Signatures
        52.3  Signed Units
        52.4  Linking with Signatures
        52.5  Restricting Signatures
        52.6  Embedded Units
        52.7  Signed Compound Units
        52.8  Invoking Signed Units
        52.9  Extracting a Primitive Unit from a Signed Unit
        52.10  Adding a Signature to Primitive Units
        52.11  Expanding Signed Unit Expressions

    53 Creating zip Files


Copyright notice

Copyright ©1996-2006 PLT

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Library General Public License, Version 2 published by the Free Software Foundation. A copy of the license is included in the appendix entitled ``License.''

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, Bruce Hauman, Jens Axel Søgaard, 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 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 Monday, November 20th, 2006.

Last modified: Monday, November 20th, 2006 6:15:14am