Read e-book online Functional C (International Computer Science Series) PDF

By Pieter Hartel, Henk Muller

ISBN-10: 0201419505

ISBN-13: 9780201419504

I am an skilled C programmer, and partial to Haskell. This thorough yet concise textbook gave me a brand new manner of C, and confirmed me either its difficulties and strengths. It advertises itself as a textbook for first-year students, so you are not going to profit any new positive aspects of C from examining this, yet, like me, you could study a completely new manner of knowing the language.

Show description

Read or Download Functional C (International Computer Science Series) PDF

Best computers books

Rewriting Techniques and Applications: Dijon, France, May by Bruno Buchberger (auth.), Jean-Pierre Jouannaud (eds.) PDF

The idea and perform of time period rewriting is now well-established and the focal point of growing to be curiosity on the earth of laptop technology. This booklet brings jointly a set of unique examine contributions and surveys of latest wisdom. probably the most major advancements in time period rewriting thought are reviewed, in addition to a historical past of an important discovery within the box, specifically the proposal of a serious pair and its traditional final result, the of entirety set of rules.

Download PDF by Jack Herrington D., Emily Kim: Getting Started with Flex 3: An Adobe Developer Library

Observe how effortless RIA improvement might be with this specific guide from the Adobe Developer Library. a number of transparent, step by step mini-tutorials educate you approximately net companies, occasion dealing with, designing person interfaces with reusable parts, and extra. After completing this advisor, you'll construct Flash functions starting from widgets to full-featured RIAs utilizing the Flex SDK and Flex Builder three.

The Internet of Things: First International Conference, IOT by Sergei Evdokimov, Benjamin Fabian, Oliver Günther (auth.), PDF

ThisvolumecontainstheproceedingsoftheInternetofThings(IOT)Conference 2008, the ? rst overseas convention of its variety. The convention came about in Zurich,Switzerland, March26–28,2008. The time period ‘Internet of items’ hascome to explain a few applied sciences and researchdisciplines that allow the - ternet to arrive out into the true international of actual gadgets.

Extra info for Functional C (International Computer Science Series)

Sample text

The best way to understand how it works is by giving an example using repeat. 0 add We have omitted the arguments i, n, and f as they are the same on both sides. With repeat, we have at our disposal a higher order function which captures the repetitive behaviour of sum, product, and many more functions. The repeat function derives its power from the wide range of functions and values that can be supplied for its five arguments. 14 Redefine the SML function product in terms of repeat. 15 Transform repeat and the redefined version of sum into C functions.

3 Characters, pattern matching, partial functions The data types integer and boolean have now been discussed at some length, so let us examine another useful data type, the character. The character is a standard scalar data type in many languages, including C. Interestingly, the character is not a standard data type in SML. Instead, SML offers strings as a basic data type. In all languages that offer characters as basic data types, strings occur as structured data types, that is, as data types built out of simpler data types.

9979e8. Floating point and integer constants are distinguished by the presence of the decimal point and/or exponent. 2e1 denote the floating point number twelve. In C, doubles and integers are converted silently into each other when appropriate. This is called coercion. The arithmetic operators are overloaded: applied to two doubles, these operators deliver a double; applied to two integers, the result is an integer; and applied to one integer and one double, the integer is coerced to a double, and the result is also a double.

Download PDF sample

Functional C (International Computer Science Series) by Pieter Hartel, Henk Muller


by Joseph
4.1

Rated 4.54 of 5 – based on 28 votes