Showing posts with label haskell. Show all posts
Showing posts with label haskell. Show all posts

Purely Functional Data Structures Review

Purely Functional Data Structures
Average Reviews:

(More customer reviews)
Are you looking to buy Purely Functional Data Structures? Here is the right place to find the great deals. we can offer discounts of up to 90% on Purely Functional Data Structures. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Purely Functional Data Structures ReviewOkasaki's slim volume is one of the best expositions on implementing data structures & algorithms in a functional language. After taking an introductory course on functional programming, this would be the book which tells you where to go next.
This book doesn't just present a rehash/rewrite of imperative data structures, only written in a functional language. Instead, Okasaki makes sure to emphasize benefits which only functional programming can bring to the table. For example, many functional data structures can compactly represent not just their current state, but all of their past states as well--a feature called "Persistence". Also, functional newbie programmers might be wondering why lazy vs. strict programming is a big deal, and Okasaki shows clearly where data structures can benefit from either being lazy or being strict.
For the advanced reader, Okasaki also presents several powerful techniques for analyzing the runtime of algorithms, including the so-called "Banker's Method" and the "Physicist's Method" for analyzing amortized algorithms.
I hope that Okasaki comes out with a 2nd edition of this book; there is one missing piece in particular which I really wish he would have included: Although he presents an EXTREMELY lucid description of how to implement Red-Black trees in a functional language, he only presented algorithms for insertion and querying. Of course, deletion from a red-black tree is the hardest part, left here, I suppose, as an exercise to the student. If you want to supply this missing piece yourself, check out a paper by Stefan Kars, "Red-black trees with types", J. Functional Programming 11(4):425-432, July, 2001. It presents deletion routines, but you'll still want to read Okasaki's book first, for unless you're very much smarter than me you won't be able to understand Kars' paper until you read Okasaki's exposition of red black trees.
Finally, this book is not just useful for programmers in functional languages; logic programmers, using prolog or a varient, will also find this book very helpful, because most of the techniques (all of the techniques, really, with the exception perhaps of the lazy programming stuff) can be directly applied in a prolog programming setting as well.
After reading this book and implementing some of the data structures for yourself, you'll be amazed at how fast algorithms can run, even when written in a functional language!Purely Functional Data Structures OverviewMost books on data structures assume an imperative language such as C or C++.However, data structures for these languages do not always translate well to functional languages such as Standard ML, Haskell, or Scheme.This book describes data structures from the point of view of functional languages, with examples, and presents design techniques that allow programmers to develop their own functional data structures.The author includes both classical data structures, such as red-black trees and binomial queues, and a host of new data structures developed exclusively for functional languages.All source code is given in Standard ML and Haskell, and most of the programs are easily adaptable to other functional languages. This handy reference for professional programmers working with functional languages can also be used as a tutorial or for self-study.

Want to learn more information about Purely Functional Data Structures?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Modern Programming Languages: A Practical Introduction Review

Modern Programming Languages: A Practical Introduction
Average Reviews:

(More customer reviews)
Are you looking to buy Modern Programming Languages: A Practical Introduction? Here is the right place to find the great deals. we can offer discounts of up to 90% on Modern Programming Languages: A Practical Introduction. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Modern Programming Languages: A Practical Introduction ReviewThis is one of the most clear and enjoyable Computer Science books I have ever read -- and being a CS Ph.D. student I've read quite a lot! The examples are at the right level of complexity, and the exercises at the end of each chapter are actually (gasp) fun! Alternating theoretical and practical chapters makes for a very balanced reading, where abstract concepts are explained by linking them to real language features.
The book smoothly moves the reader through Standard ML, Java and Prolog in a concise and pleasant manner. Although it doesn't go deep in any of these languages, it provides the reader with enough background to create simple programs and utilize the power of each language; the interested reader can go on to learn advanced language features with the confidence that all the basics have been covered. The book draws clear distinctions between all three languages, each of which represents a different way of thinking about programming. If you are looking for an excellent book on programming languages, or you just want to get a feel about different programming paradigms, this is your book!Modern Programming Languages: A Practical Introduction Overview

Want to learn more information about Modern Programming Languages: A Practical Introduction?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...