Practical OCaml and over 360,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
Sorry!
More Buying Choices
40 used & new from $14.92

Have one to sell? Sell yours here
 
   
Practical OCaml
 
 
Start reading Practical OCaml on your Kindle in under a minute.

Don’t have a Kindle? Get your Kindle here.
 
  

Practical OCaml (Hardcover)

~ (Author)
Key Phrases: mli file, val myfunc, new toplevel, Objective Caml, Random Constructor, Paul Graham (more...)
1.6 out of 5 stars  See all reviews (17 customer reviews)

List Price: $64.99
Price: $51.99 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.00 (20%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, November 10? Choose One-Day Shipping at checkout. Details
23 new from $19.55 17 used from $14.92

Formats

Amazon Price New from Used from
  Kindle Edition, October 18, 2006 $41.59 -- --
  Hardcover, October 17, 2006 $51.99 $19.55 $14.92

Frequently Bought Together

Practical OCaml + Real World Haskell + Programming Erlang: Software for a Concurrent World
Price For All Three: $119.56

Show availability and shipping details

  • This item: Practical OCaml by Joshua B. Smith

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Real World Haskell by Bryan O'Sullivan

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Programming Erlang: Software for a Concurrent World by Joe Armstrong

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought

Programming Erlang: Software for a Concurrent World

Programming Erlang: Software for a Concurrent World

by Joe Armstrong
4.4 out of 5 stars (36)  $24.39
F# for Scientists

F# for Scientists

by Jon Harrop
5.0 out of 5 stars (6)  $59.60
Purely Functional Data Structures

Purely Functional Data Structures

by Chris Okasaki
4.3 out of 5 stars (6)  $41.65
Practical Common Lisp

Practical Common Lisp

by Peter Seibel
4.4 out of 5 stars (54)  $58.49
The Functional Approach to Programming

The Functional Approach to Programming

by Guy Cousineau
4.2 out of 5 stars (4)  $59.98
Explore similar items

Editorial Reviews

Product Description

Objective Caml (OCaml) is an open source programming language that allows you to utilize both functional and object-oriented programming. Sporting features such as a robust object system, type safety, and an expansive standard library, OCaml is a language that encourages pragmatic solutions instead of dogmatic ones. Boasting performance on par with the likes of C/C++, and having compilers available for a variety of platforms, including Windows, Unix, Linux, and Mac OS X, enterprise developers should consider adding this powerful language to their repertoire.

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.

Key topics include

  • Primitive and composite types

  • Collections

  • File and I/O

  • Modules and functors

  • Ocamllex and Ocamlyacc

  • OCamldoc

  • Threading

  • The Camlp4 preprocessor and pretty printer

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.



About the Author

Joshua Smith is a consultant specializing in data problems and computing infrastructure. He got into computers while an undergraduate at Denison University and spends most of his programming time using Python, OCaml, and Java. Josh lives in Chicago with his wife, Carol, and their two cats.

Product Details

  • Hardcover: 488 pages
  • Publisher: Apress (October 18, 2006)
  • Language: English
  • ISBN-10: 159059620X
  • ISBN-13: 978-1590596203
  • Product Dimensions: 9.3 x 7.2 x 1.3 inches
  • Shipping Weight: 2.1 pounds (View shipping rates and policies)
  • Average Customer Review: 1.6 out of 5 stars  See all reviews (17 customer reviews)
  • Amazon.com Sales Rank: #586,385 in Books (See Bestsellers in Books)

More About the Author

Joshua B. Smith
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Joshua B. Smith Page

Inside This Book (learn more)


Books on Related Topics (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(5)
(3)

Your tags: Add your first tag
 

 

Customer Reviews

17 Reviews
5 star:    (0)
4 star:
 (2)
3 star:    (0)
2 star:
 (4)
1 star:
 (11)
 
 
 
 
 
Average Customer Review
1.6 out of 5 stars (17 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
55 of 59 people found the following review helpful:
1.0 out of 5 stars waste of money, November 1, 2006
By Owen (New York, NY) - See all my reviews
This is a bad book. It's unfortunate, too, because it was a great idea. The book contains many errors, from typos to grammatical errors to code indentation issues to problems which demonstrate a complete misunderstanding of the subject matter. As a professional OCaml programmer, it is clear to me that this was not written by somebody who understands the subject.

Trying to learn OCaml from this book is a very bad idea; you will end up discouraged and confused at best. Please don't buy it.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
35 of 38 people found the following review helpful:
1.0 out of 5 stars Disappointing, November 7, 2006
By S. Chaudhary (Jersey City, NJ United States) - See all my reviews
(REAL NAME)   
Monday morning, on release day of this book, I stopped by a B&N to pick up this book. When they didn't have it, I drove an hour to try another store. Finally I ordered it on Amazon and paid extra for second day delivery.

Since I am relatively new to functional programming, I can't judge the technical content. I can tell you that other beginners should stay away from this book.

The writing style is surprisingly bad, considering the author has a degree in English and this book had a professional editor. Much of the book looks like a bad cut & paste job. The author often describes a concept in very general terms, dumps a dozen lines of code and moves on without ever explaining what the code is doing (strange for a programming language book).

There are free OCaml tutorials on the web which do a much better job of explaining the language. The publisher did a good job with Practical Lisp, how come this book doesn't have the same quality? At $50, this book will be going right back to Amazon.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
30 of 36 people found the following review helpful:
1.0 out of 5 stars Very bad book, November 3, 2006
This is one of the worst books I've read. What a waste of money...
The basic syntax issues are glossed over. Type polymorphism example is introduced with an error. I can go on and on
-with statement, type statement etc . Author does nothing to guide the reader through a maze of jumbled syntax. Terrible waste of a really good idea.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

1.0 out of 5 stars Its a "Jump" to Conclusions mat!
The book is poorly written, disorganized and jumps around kind of like the author is on crack or something. I got about 2 chapters in and couldn't even go further. Read more
Published 6 months ago by zbrown

1.0 out of 5 stars Use the online documentation
The online documentation is far more helpful than this book which I found quite disorganized. As other reviewers mentioned, this book uses concepts of the language well before it... Read more
Published 11 months ago by Erik A. Onnen

1.0 out of 5 stars Very disappointing
Disjointed and disorganized. Ocaml is a language with much to offer but this book does it a disservice regardless of the experience level of the reader - those looking for another... Read more
Published 14 months ago by Greg Wuller

1.0 out of 5 stars What they said: how did a manuscript this horrible get sent to the printer; Apress should act honorably;
i spent a couple hours reading this book carefully, without having seen any Amazon reviews. I haven't done any OCaml coding, most of my work is in ruby, python and C, but i have... Read more
Published 21 months ago by pounding on the keyboard

2.0 out of 5 stars It could be very good, but disappoints. The "Practical" chapters can be interesting.
Executive summary: this is not Practical Common Lisp for OCaml. It's ambitious but disappointing. However, it's not so bad as it seems at first sight. Read more
Published on July 5, 2007 by Andrei Formiga

2.0 out of 5 stars Ocaml needs a good tutorial book, but this isn't it...
I really tried to like this book. I've been meaning to learn Ocaml for months, and more or less on a whim picked up this book while I was in a brick and mortar bookstore. Read more
Published on June 17, 2007 by Mark Vandewettering

1.0 out of 5 stars Has the book been proofread at all?
This book is a more comprehensive introduction a functional
programming language, OCaml, than many tutorials you can find online. Read more
Published on June 2, 2007 by W

1.0 out of 5 stars Worst programming book I have ever read
This was the first technical book that I have bought somewhere other than Amazon in a while, and it reminded me why I tend to avoid that section of physical bookstores... Read more
Published on April 2, 2007 by reeses

2.0 out of 5 stars Trying hard to like the book
I am a couple of chapters in and I am trying to like this book but it just isn't that approachable.

Compard to Practical Common Lisp (Same series I assume) there is... Read more
Published on February 26, 2007 by Justin Henzie

1.0 out of 5 stars A shockingly bad book
One of the previous reviewers described this book as being "only for the experienced". Sadly, this gives the book credit it simply doesn't deserve. Read more
Published on January 27, 2007 by Ron

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.