Mastering F#

Alfonso Garcia-Caro Nunez, Suhaib Fahad

  • 出版商: Packt Publishing
  • 出版日期: 2016-11-30
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 1784393436
  • ISBN-13: 9781784393434
  • 相關分類: F#
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Learn how to manage, run, and automate your servers using Puppet
  • Explore how to use F# to develop large-scale applications quickly and simply, and become more productive in today’s age of cloud computing and multi-core programming
  • This easy-to-follow guide is packed with real-world examples that will jump-start you with F# development on the .NET platform

Book Description

F# is a multi-paradigm programming language that encompasses object-oriented, imperative, and functional programming language properties. Now adopted in a wide range of application areas and is supported both by industry-leading companies who provide professional tools and by an active open community, F# is rapidly gaining popularity as it emerges in digital music advertising, creating music-focused ads for Spotify, Pandora, Shazam, and anywhere on the web.

This book will guide you through the basics and will then help you master F#. The book starts by explaining how to use F# with Visual Studio, file ordering, and the differences between F# and C# in terms of usage. It moves on to explain the functional core of F# such as data types, type declarations, immutability, strong type interference, pattern matching, records, F# data structures, sequence expressions, and lazy evaluation. Next, the book takes you through imperative and asynchronous programming, F# type providers, applications, and testing in F#. Finally, we look into using F# with distributed programming and using F# as a suitable language for data science. In short, this book will help you learn F# for real-world applications and increase your productivity with functional programming.

What you will learn

  • Understand the basics of F# and organize F# source code with Visual Studio
  • Work with F# data structures and create functional data structures in F# interoperate with C#
  • Build and use asynchronous programming patterns with F#
  • Create and use type providers that help perform data analysis from within Visual Studio
  • Develop applications with pure F# code in WPF or ASP.NET MVC
  • Find out how to perform distributed programming with ServiceBus or ZeroMQ
  • Visualize data with charts, and work with Excel and R language Type providers

About the Author

Alfonso García-Caro Núñez is a linguist who, in recent years, changed the study of natural languages by the practice of their programming counterparts. He currently focuses on JavaScript and .NET development and has worked on developing mobile, web, and desktop applications for several industries, such as video games, education, green energy, or digital performances. He is also an international speaker who has presented at several conferences around the globe. His admiration for both the thriving JavaScript ecosystem and functional programming with F# made him look for a way to bring together both worlds, leading to the creation of Fable, an F# to JavaScript compiler that is attracting lot of attention from the community, and integrates the power and elegance of F# with the hundreds of JavaScript tools and libraries available.

Suhaib Fahad is an entrepreneur and is running a startup; he is also an expert F# programmer and enthusiast, using F# in various domains within the products that he is building. He is extremely passionate about developing in functional languages and loves to engage with developers of different communities. He has also been researching and working with cloud scale applications since 2012. Fahad lives in Bangalore, the IT hub of India, with his wife and baby boy.

Table of Contents

  1. Getting Started in F#
  2. Functional Core with F#
  3. Data Structures in F#
  4. Imperative Programming in F#
  5. Asynchronous Programming
  6. Type Providers
  7. Web Programming in F#
  8. Application Development in F#
  9. Testing in F#
  10. Distributed Programming in F#

商品描述(中文翻譯)

主要特點



  • 學習如何使用Puppet管理、運行和自動化您的伺服器

  • 探索如何使用F#快速簡單地開發大型應用程序,並在當今的雲計算和多核編程時代提高生產力

  • 這本易於跟隨的指南充滿了真實世界的例子,可以幫助您快速入門使用.NET平台上的F#開發

書籍描述


F#是一種多範式編程語言,包含面向對象、命令式和函數式編程語言的特性。現在在各種應用領域得到廣泛應用,並得到行業領先公司提供的專業工具和活躍的開放社區的支持,F#正在迅速流行起來,它在數字音樂廣告中崛起,為Spotify、Pandora、Shazam和網絡上的任何地方創建以音樂為重點的廣告。


本書將引導您了解基礎知識,然後幫助您掌握F#。本書首先解釋如何在Visual Studio中使用F#,文件排序以及F#和C#在使用上的差異。接下來,它解釋了F#的函數核心,如數據類型、類型聲明、不可變性、強類型干擾、模式匹配、記錄、F#數據結構、序列表達式和延遲求值。然後,本書介紹了命令式和異步編程、F#類型提供程序、應用程序和F#中的測試。最後,我們將探討使用F#進行分佈式編程以及將F#作為適合數據科學的語言。簡而言之,本書將幫助您學習F#並將其應用於實際應用程序,提高您在函數式編程方面的生產力。

您將學到什麼



  • 了解F#的基礎知識,並使用Visual Studio組織F#源代碼

  • 使用F#數據結構並在F#中創建功能性數據結構,與C#進行互操作

  • 使用F#構建和使用異步編程模式

  • 創建並使用類型提供程序,從Visual Studio內進行數據分析

  • 在WPF或ASP.NET MVC中使用純F#代碼開發應用程序

  • 了解如何使用ServiceBus或ZeroMQ進行分佈式編程

  • 使用圖表可視化數據,並使用Excel和R語言類型提供程序

關於作者


Alfonso García-Caro Núñez是一位語言學家,近年來通過實踐編程對應物改變了對自然語言的研究。他目前專注於JavaScript和.NET開發,並致力於開發適用於多個行業的移動、Web和桌面應用程序,如視頻遊戲、教育、綠色能源或數字表演。他還是一位國際演講者,曾在全球多個會議上發表演講。他對蓬勃發展的JavaScript生態系統和F#的函數式編程的欽佩使他尋找一種將兩個世界結合在一起的方法,從而創建了Fable,這是一個F#到JavaScript的編譯器,引起了社區的廣泛關注,並將F#的強大和優雅與數百種JavaScript工具和庫集成在一起。


Suhaib Fahad是一位企業家,正在運營一家初創公司;他也是一位熟練的F#程序員和愛好者,在他正在建立的產品的各個領域中使用F#。他非常熱衷於開發功能性語言,並喜歡與不同社區的開發人員互動。自2012年以來,他一直在研究和開發雲規模應用程序。Fahad與妻子和兒子一起居住在印度的IT中心班加羅爾。

目錄



  1. 開始使用F#

  2. F#的功能核心

  3. F#中的數據結構

  4. F#中的命令式編程

  5. 異步編程

  6. 類型提供程序

  7. F#中的Web編程

  8. F#中的應用程序開發

  9. F#中的測試

  10. Di