Sử Dụng, Hiểu Biết và Giải Mã Ngôn Ngữ OCaml: Từ Thực Hành Đến Lý Thuyết

Trường đại học

Công Nghệ Thông Tin

Chuyên ngành

Ngôn Ngữ Lập Trình

Người đăng

Ẩn danh

2000

182
0
0

Phí lưu trữ

30.000 VNĐ

Mục lục chi tiết

1. CHƯƠNG 1: CORE ML

1.1. Discovering Core ML

1.2. The syntax of Core ML

1.3. The dynamic semantics of Core ML

1.4. Properties of the reduction

1.5. Big-step operational semantics

1.6. The static semantics of Core ML

1.6.1. Types and programs

1.6.2. Unification for simple types

1.6.3. Fix-point combinator

2. CHƯƠNG 2: THE CORE OF OCAML

2.1. Data types and pattern matching

2.1.1. Examples in OCaml

2.1.2. Formalization of superficial pattern matching

2.1.3. Recursive datatype definitions

2.2. Mutable storage and side effects

2.2.1. Formalization of the store

2.2.2. Store and polymorphism

2.2.3. Multiple-field mutable records

3. CHƯƠNG 3: THE OBJECT LAYER

3.1. Discovering objects and classes

3.2. Polymorphism, subtyping, and parametric classes

3.3. Understanding objects and classes

3.3.1. Type-checking objects

3.3.2. Advanced uses of objects

4. CHƯƠNG 4: THE MODULE LANGUAGE

4.1. Advanced uses of modules

5. CHƯƠNG 5: MIXING MODULES AND OBJECTS

5.1. Combining modules and classes

5.2. Classes as module components

5.3. Classes as pre-modules

Further reading

A First steps in OCaml

B Variant and labeled arguments

C Answers to exercises

Bibliography

List of all exercises

Index

Using understanding and unraveling the ocaml language from practice to theory and vice versa

Bạn đang xem trước tài liệu:

Using understanding and unraveling the ocaml language from practice to theory and vice versa