The Haskell School of Expression leraring functial programming through multimedi
暫譯: Haskell 表達學校:透過多媒體學習函數式程式設計

Paul Hudak

  • 出版商: Camberidge
  • 出版日期: 2000-02-28
  • 售價: $2,275
  • 貴賓價: 9.8$2,230
  • 語言: 英文
  • 頁數: 382
  • 裝訂: Paperback
  • ISBN: 0521644089
  • ISBN-13: 9780521644082
  • 相關分類: Functional-programming
  • 無法訂購

買這商品的人也買了...

商品描述

 

Summary

Functional programming is a style of programming that emphasizes the use of functions (in contrast to object-oriented programming, which emphasizes the use of objects). It has become popular in recent years because of its simplicity, conciseness, and clarity. This book teaches functional programming as a way of thinking and problem solving, using Haskell, the most popular purely functional language. Rather than using the conventional (boring) mathematical examples commonly found in other programming language textbooks, the author uses examples drawn from multimedia applications, including graphics, animation, and computer music, thus rewarding the reader with working programs for inherently more interesting applications. Aimed at both beginning and advanced programmers, this tutorial begins with a gentle introduction to functional programming and moves rapidly on to more advanced topics. Details about progamming in Haskell are presented in boxes throughout the text so they can be easily found and referred to.

Table of Contents

1. Problem solving, programming, and calculation; 2. A module of shapes: part I; 3. Simple graphics; 4. Shapes II: drawing shapes; 5. Polymorphic and higher-order functions; 6. Shapes III: perimeters of shapes; 7. Trees; 8. A module of regions; 9. More about higher-order functions; 10. Drawing regions; 11. Proof by induction; 12. Qualified types; 13. A module of simple animations; 14. Programming with streams; 15. A module of reactive animations; 16. Communicating with the outside world; 17. Rendering reactive animations; 18. Higher-order types; 19. An imperative robot language; 20. Functional music composition; 21. Algebraic properties of multimedia; 22. Interpreting functional music; 23. A tour of the prelude list module; 24. A Tour of Haskells standard type classes.

商品描述(中文翻譯)

摘要

函數式程式設計是一種強調使用函數的程式設計風格(與強調使用物件的物件導向程式設計相對)。近年來,由於其簡單性、簡潔性和清晰性,函數式程式設計變得越來越受歡迎。本書將函數式程式設計視為一種思考和解決問題的方法,使用 Haskell 這種最受歡迎的純函數式語言。作者並未使用其他程式語言教科書中常見的傳統(乏味的)數學範例,而是選擇了來自多媒體應用的範例,包括圖形、動畫和電腦音樂,從而為讀者提供了更有趣的應用程式的實作。這本教程針對初學者和進階程式設計師,從函數式程式設計的輕鬆介紹開始,然後迅速進入更高級的主題。關於 Haskell 程式設計的細節在文本中以框框的形式呈現,方便讀者輕鬆查找和參考。

目錄

1. 問題解決、程式設計與計算;2. 形狀模組:第一部分;3. 簡單圖形;4. 形狀 II:繪製形狀;5. 多型和高階函數;6. 形狀 III:形狀的周長;7. 樹;8. 區域模組;9. 更多高階函數的內容;10. 繪製區域;11. 透過歸納法證明;12. 限定類型;13. 簡單動畫模組;14. 使用串流程式設計;15. 反應式動畫模組;16. 與外部世界的溝通;17. 渲染反應式動畫;18. 高階類型;19. 一種命令式機器人語言;20. 函數式音樂作曲;21. 多媒體的代數性質;22. 解釋函數式音樂;23. Prelude 列表模組導覽;24. Haskell 標準類型類的導覽。