Expert F♯ 4.0 /
Learn from F♯'s inventor to become an expert in the latest version of this powerful programming language so you can seamlessly integrate functional, imperative, object-oriented, and query programming style flexibly and elegantly to solve any programming problem. Expert F♯ 4.0 will help you achi...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[New York] :
Apress,
[2015]
|
Edición: | Fourth edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Contents; About the Authors; About the Technical Reviewers; Acknowledgments; Chapter 1: Introduction; The Genesis of F#; About This Book; Who This Book Is For; Chapter 2: Your First F# Program: Getting Started with F#; Creating Your First F# Program; Documenting Code ; Using let; Understanding Types ; Calling Functions ; Lightweight Syntax ; Understanding Scope ; Using Data Structures ; Using Properties and the Dot-Notation ; Using Tuples ; Using Imperative Code ; Using Object-Oriented Libraries from F#; Using open to Access Namespaces and Modules
- Introducing Function Values Using Function Values; Computing with Collection Functions ; Using Fluent Notation on Collections; Composing Functions with >>; Building Functions with Partial Application ; Using Local Functions ; Iterating with Functions; Abstracting Control with Functions; Using Object Methods as First-Class Functions; Some Common Uses of Function Values; Summary; Chapter 4: Introducing Imperative Programming; About Functional and Imperative Programming; Imperative Looping and Iterating; Simple for Loops ; Simple While Loops ; More Iteration Loops over Sequences
- Using Mutable Records Avoiding Aliasing ; Using Mutable let Bindings ; Hiding Mutable Data ; Working with Arrays ; Generating and Slicing Arrays; Two-Dimensional Arrays ; Introducing the Imperative .NET Collections ; Using Resizable Arrays ; Using Dictionaries ; Using Dictionary's TryGetValue ; Using Dictionaries with Compound Keys ; Some Other Mutable Data Structures ; Exceptions and Controlling Them; Catching Exceptions ; Using try . . . finally; Defining New Exception Types ; Having an Effect: Basic I/O; .NET I/O via Streams ; Some Other I/O-Related Types
- Using System. Console Combining Functional and Imperative Efficient Precomputation and Caching ; Precomputation and Partial Application ; Precomputation and Objects ; Memoizing Computations; Lazy Values ; Other Variations on Caching and Memoization ; Mutable Reference Cells ; Combining Functional and Imperative: Functional Programming with Side Effects; Consider Replacing Mutable Locals and Loops with Recursion ; Separating Pure Computation from Side-Effecting Computations ; Separating Mutable Data Structures ; Not All Side Effects Are Equal