tailieunhanh - J. David Eisenberg

Étude 6-1: Recursive Iteration through a List Étude 6-2: Iteration through Lists (More Practice) Étude 6-3: Accumulating the Sum of a List Interlude: “Mistakes were made.” Étude 6-4: Lists of Lists Étude 6-5: Random Numbers; Generating Lists of Lists Étude 7-1: Simple Higher Order Functions Étude 7-2: List Comprehensions and Pattern Matching Part One Part Two Étude 7-3: Using lists:foldl/3 Étude 7-4: Using lists:split/2 Étude 7-5: Multiple Generators in List Comprehensions Étude 7-6: Explaining an Algorithm Étude 8-1: Using Processes to Simulate a Card Game The Art of War War: What is it good for? Pay Now or Pay Later. | ÉTUDES FOR ERLANG Companion exercises for Introducing Erlang J. David Eisenberg O REILLY Études for Erlang J. David Eisenberg O REILLY Beijing Cambridge Farnham Kôln Sebastopol Tokyo Études for Erlang by J. David Eisenberg Copyright 2010 O Reilly Media . 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 . For more information contact our corporate institutional sales department 800-998-9938 or corporate@. Editor Simon St. Laurent Interior Designer David Futato March 2013 First Edition Revision History for the First Edition 2013-03-20 First release See http catalog isbn 9781449366452 for release details. Nutshell Handbook the Nutshell Handbook logo and the O Reilly logo are registered trademarks of O Reilly Media Inc. Etudes for Erlang 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 contained herein. ISBN 978-1-449-36645-2 .