募捐 9月15日2024 – 10月1日2024 关于筹款

Optics By Example: Functional lenses in Haskell

Optics By Example: Functional lenses in Haskell

Chris Penner
0 / 5.0
1 comment
你有多喜欢这本书?
下载文件的质量如何?
下载该书,以评价其质量
下载文件的质量如何?
Optics By Example is a one-stop comprehensive guide to mastering optics in functional programming languages. It covers everything you need to know to go from complete beginner to advanced. Each topic is accompanied by copious examples and exercises!
Here are some highlights:
• Complete introductions to Lenses, Folds, Traversals, Prisms and Isos
• Learn the magic of Indexed optics
• Composing Optics• Lenses & Records
• Fixing "The Record Problem"
• Application design techniques using Classy optics
• Breakdowns of laws and limitations for each optic type
• Virtual lenses
• Validation lenses
• A guide to fully polymorphic optics
• A guide to "operator-style"
• Learn to query, filter, and aggregate data with surgical precision
• Learn how to use higher-order optics effectively
• Learn to write custom versions of all optics types for your own applications
• Manipulate data types with a clean and consistent interface
• Learn the monadic DSLs for using lenses in real monad stacks
WHY OPTICS?
Optics have become a wonderful and powerful new way of working with immutable data structures. They're almost a necessity at this point; and the benefits they bring in terms of re-usability, simplification of code maintenance & refactoring, and expressivity are immense! However, learning to use optics can be tricky or even intimidating at first, it's not always clear how to build up a large complicated mutation or query from the building blocks of optics. Optics by example is here to help!
This book is great as a first guide to optics, as a reference guide for discovering and mastering the optics you need for day-to-day problems, and as a springboard into new ideas and tools which you may not have even heard of.
年:
2020
出版社:
self-published
语言:
english
页:
390
系列:
1
文件:
PDF, 8.95 MB
IPFS:
CID , CID Blake2b
english, 2020
线上阅读
正在转换
转换为 失败

关键词