Buch, Englisch, 462 Seiten, Format (B × H): 183 mm x 240 mm, Gewicht: 1059 g
ISBN: 978-1-59059-620-3
Verlag: Apress
Written for experienced programmers, Practical OCaml teaches OCaml in a code-intensive fashion. Readers are encouraged to follow along with most examples using the OCaml top-level (the interactive interpreter), giving them the opportunity to consider the purpose and syntax of each line. The author's considerable knowledge of the Java, Python, and C++ languages allows him to present the material at a level and perspective that readers hailing from varied programming backgrounds will appreciate.
Language aficionados will be sure to enjoy the occasional digression into tangential topics such as OCaml's impurities from the functional programming perspective, with thoughts about how to overcome them using mutability, references, and classes.
In later chapters, you'll put what you've learned to work, building applications capable of performing complex log-file processing, crawling the Web, filtering spam, and even broadcasting audio over a network using the Shoutcast protocol.
Zielgruppe
Popular/general
Autoren/Hrsg.
Fachgebiete
- Mathematik | Informatik EDV | Informatik Programmierung | Softwareentwicklung Funktionale, Logische, Parallele und Visuelle Programmierung
- Mathematik | Informatik EDV | Informatik Programmierung | Softwareentwicklung Objektorientierte Programmierung
- Mathematik | Informatik EDV | Informatik Programmierung | Softwareentwicklung Programmier- und Skriptsprachen
Weitere Infos & Material
Why Objective Caml (OCaml)?.- Interacting with OCaml: The Toplevel.- Syntax and Semantics.- Understanding Functions.- Practical: Creating a Simple Database.- Primitive and Composite Types.- Practical: Simple Database Reports, Exports, and Imports.- Collections.- Files and File I/O.- Exception Handling.- Practical: A URI Library.- Using Ocamldoc.- Modules and Functors.- Practical: A Spam Filter.- Practical: A Network-Aware Scoring Function.- Ocamllex and Ocamlyacc.- Practical: Complex Log File Parsing.- The Objective Part of Caml.- Digression: OCaml Is Not Pure.- Digression: Functional Programming.- Practical: Web Programming.- Practical: A Shoutcast Server.- Using Threads.- Practical: A Concurrent Web Crawler.- Interfacing with OCaml.- Practical: Time and Logging Libraries.- Processing Binary Files.- OCaml Development Tools.- Camlp4.- Conclusion.