文档介绍:Programming Scala
Programming Scala
Dean Wampler and Alex Payne
Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo
Programming Scala
by Dean Wampler and Alex Payne
Copyright © 2009 Dean Wampler and Alex Payne. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.). For more information, contact our
corporate/institutional sales department: 800-998-9938 or ******@.
Editor: Mike Loukides Indexer: Ellen Troutman Zaig
Production Editor: Sarah Schneider Cover Designer: Karen Montgomery
Proofreader: Sarah Schneider Interior Designer: David Futato
Illustrator: Robert Romano
Printing History:
September 2009: First Edition.
O’Reilly and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Programming Scala, the
image of a Malayan tapir, and related trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein. This work has been released under the mons Attribution-mercial
license.
ISBN: 978-0-596-15595-7
[M]
1252446332
To Dad and Mom, who always believed in me.
To Ann, who was always there for me.
—Dean
To my mother, who gave me an appreciation for
good writing and the panying intellectual
tools with which to attempt to produce it.
To Kristen, for her unending patience, love,