Learn Haskell by Example

· Simon and Schuster
eBook
456
페이지
적용 가능
검증되지 않은 평점과 리뷰입니다.  자세히 알아보기

eBook 정보

Learn Haskell by doing Haskell projects! In this book, you’ll get practical experience writing Haskell code and applying functional programming to actual development challenges.

In Learn Haskell by Example, you’ll build your Haskell skills by working through hands-on challenges and conundrums. You’ll learn to look at each project through a Haskell lens, and then solve it using features like lazy evaluation, immutable data structures, and monads.

In Learn Haskell by Example you will learn how to:

• Use Haskell for daily programming tasks
• Effectively apply functional concepts
• Avoid common beginner pitfalls of Haskell
• Apply abstract concepts in the Haskell language
• Debug and profile Haskell applications
• Improve the performance of Haskell applications

Haskell is an amazing choice for applications that need an extra guarantee of safety, such as in smart contracts, data intensive applications, and large scale distributed systems. In this book, you’ll see just how practical Haskell can be for creating programs by building your own engaging projects! Learn how to structure real-world applications, how to work with the Haskell tool chain effectively, and what to look out for when writing critical sections in the program's logic. Best of all, each project in this book is fully extensible and customizable so you can keep tinkering with your favorites!

About the technology

Programmers spend a lot of time debugging and refactoring code, reading comments and documentation, and trying to make sense out of complex designs. Haskell, a powerful, beautiful, and challenging functional programming language, promises a different path. By focusing your attention on simple functions, clearly-defined behaviors, and the right high-level abstractions, Haskell disallows the dangerous behaviors that usually lead to bugs and crashes.

About the book

Learn Haskell by Example teaches you to build applications in Haskell by designing and coding fun and engaging projects. In this easy-to-follow guide, you’ll create a domain specific language for music, an image processing library, and more! You’ll learn Haskell from the ground-up with a focus on important concepts like function design, composition, and data immutability. Each project gives you a new insight into how to think in Haskell and helps you understand why many Haskell developers say they will never use another language again.

What's inside

• Use Haskell for daily programming tasks
• Purely functional programming
• Avoid common Haskell pitfalls

About the reader

For readers who know how to program in an object-oriented language.

About the author

Philipp Hagenlocher is a full time Haskell developer, and the creator of the beloved Haskell for Imperative Programmers YouTube course.

The technical editor on this book was Alexander Vershilov.

Table of Contents

1 Introduction
2 Ancient secret keeping on modern machines
3 Every line counts
4 Line numbering tool
5 Words and graphs
6 Solving the ladder game
7 Working with CSV files
8 A tool for CSV
9 Quick checks and random tests
10 Digital music box
11 Programming musical compositions
12 Parsing pixel data
13 Parallel image processing
14 Files and exceptions
15 Transformers for synchronizing
16 JSON and SQL
17 APIs using Servant
Appendix A The Haskell Toolchain
Appendix B Lazy evaluation

저자 정보

Philipp Hagenlocher is a full time Haskell developer, working on distributed systems that need absolute program correctness. He is passionate about teaching and educating others on functional concepts, and is the creator of the beloved Haskell for Imperative Programmers YouTube course.

이 eBook 평가

의견을 알려주세요.

읽기 정보

스마트폰 및 태블릿
AndroidiPad/iPhoneGoogle Play 북 앱을 설치하세요. 계정과 자동으로 동기화되어 어디서나 온라인 또는 오프라인으로 책을 읽을 수 있습니다.
노트북 및 컴퓨터
컴퓨터의 웹브라우저를 사용하여 Google Play에서 구매한 오디오북을 들을 수 있습니다.
eReader 및 기타 기기
Kobo eReader 등의 eBook 리더기에서 읽으려면 파일을 다운로드하여 기기로 전송해야 합니다. 지원되는 eBook 리더기로 파일을 전송하려면 고객센터에서 자세한 안내를 따르세요.