ML for the Working ProgrammerCambridge University Press, 1996 M06 28 The new edition of this successful and established textbook retains its two original intentions of explaining how to program in the ML language, and teaching the fundamentals of functional programming. The major change is the early and prominent coverage of modules, which are extensively used throughout. In addition, the first chapter has been totally rewritten to make the book more accessible to those without experience of programming languages. The main features of new Standard Library for the revised version of ML are described and many new examples are given, while references have also been updated. Dr Paulson has extensive practical experience of ML and has stressed its use as a tool for software engineering; the book contains many useful pieces of code, which are freely available (via the Internet) from the author. He shows how to use lists, trees, higher-order functions and infinite data structures. Many illustrative and practical examples are included.. Efficient functional implementations of arrays, queues, priority queues, etc. are described. Larger examples include a general top-down parser, a lambda-calculus reducer and a theorem prover. The combination of careful explanation and practical advice will ensure that this textbook continues to be the preferred text for many courses on ML. |
Dentro del libro
Resultados 1-5 de 69
Página
... Programming 1.1 Expressions versus commands 1.2 Expressions in procedural programming languages 1.3 Storage management 1.4 Elementsofa functionallanguage 1.5 The efficiency of functional programming Standard ML 1.6 The ...
... Programming 1.1 Expressions versus commands 1.2 Expressions in procedural programming languages 1.3 Storage management 1.4 Elementsofa functionallanguage 1.5 The efficiency of functional programming Standard ML 1.6 The ...
Página
Larry C. Paulson. 6.6 Function values and functionals A general induction principle 6.7 Computing normal forms 6.8 ... programming 7.14 The open declaration 7.15 Signatures and substructures Reference guide to modules 7.16 The syntax ...
Larry C. Paulson. 6.6 Function values and functionals A general induction principle 6.7 Computing normal forms 6.8 ... programming 7.14 The open declaration 7.15 Signatures and substructures Reference guide to modules 7.16 The syntax ...
Página
... Programming in ML Chapter outline Reference types 8.1 References and their operations 8.2 Controlstructures 8.3 ... functional parser 9.1 Scanning, or lexical analysis 9.2 A toolkit for topdownparsing 9.3 TheML code ofthe parser 9.4 ...
... Programming in ML Chapter outline Reference types 8.1 References and their operations 8.2 Controlstructures 8.3 ... functional parser 9.1 Scanning, or lexical analysis 9.2 A toolkit for topdownparsing 9.3 TheML code ofthe parser 9.4 ...
Página
... function foldleft when thelibrary includes asimilarfunction calledfoldl. Butthese functionsare not identical;the ... functional programming and ML used inawide variety of applications. ML meets the requirements for building reliable ...
... function foldleft when thelibrary includes asimilarfunction calledfoldl. Butthese functionsare not identical;the ... functional programming and ML used inawide variety of applications. ML meets the requirements for building reliable ...
Página
... programming concepts in a manner suitablebothto beginners andtoexperienced C programmers.That is easier thanit sounds: Cdoes not attempt togive programmersa problemsolving environment, merely to dress up the ... functional programming.
... programming concepts in a manner suitablebothto beginners andtoexperienced C programmers.That is easier thanit sounds: Cdoes not attempt togive programmersa problemsolving environment, merely to dress up the ... functional programming.
Contenido
Summary of main points 4 Trees and Concrete Data | |
Functions and InfiniteData Chapter outline Functions asvalues 5 1 Anonymous functionswith | |
Summary of main points 3 Lists | |
Summary of main points 7 Abstract Types andFunctors Chapter outline | |
Imperative Programming in ML | |
Summary of main points 10 A Tactical Theorem Prover | |
Términos y frases comunes
abstract type algorithm applied argument arithmetic binary search trees binary tree callbyvalue canbe characters components compute constructors contains curried function data structures datatype datatype declaration defined depthfirst search dictionary efficient elements empty error example exception Exercise expression flexible arrays foldl foldr formula functional programming functor handler heap higherorder functions imperative programming implement infix infix operator input insert integers iterative label lazy evaluation logic lookup match mathematical mathematical induction matrix merge sort ML’s modules multisets natural numbers node normal form notation numbers ofthe output pairs parameter parser parsing pattern patternmatching polymorphic polynomials predicate priority queues proof proposition prove quantifier real numbers recursive call recursive functions references replaces representation represented result returns rule Section sequence sequent calculus signature solutions sort specifies standard library Standard ML string structural induction subgoal subtrees syntax tactics takes term terminate theorem update vector wellfounded