Functional Programming in Kotlin
eBook - ePub

Functional Programming in Kotlin

  1. 504 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Functional Programming in Kotlin

About this book

In Functional Programming in Kotlin you will learn: Functional programming techniques for real-world applications
Write combinator libraries
Common structures and idioms in functional design
Simplicity and modularity (and fewer bugs!) Functional Programming in Kotlin is a reworked version of the bestselling Functional Programming in Scala, with all code samples, instructions, and exercises translated into the powerful Kotlin language. In this authoritative guide, you'll take on the challenge of learning functional programming from first principles. Complex concepts are demonstrated through exercises that you'll love to test yourself against. You'll start writing Kotlin code that's easier to read, easier to reuse, better for concurrency, and less prone to bugs and errors. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology
Improve performance, increase maintainability, and eliminate bugs! How? By programming the functional way. Kotlin provides strong support for functional programming, taking a pragmatic approach that integrates well with OO codebases. By applying the techniques you'll learn in this book, your code will be safer, less prone to errors, and much easier to read and reuse. About the book
Functional Programming in Kotlin teaches you how to design and write Kotlin applications using typed functional programming. Offering clear examples, carefully-presented explanations, and extensive exercises, it moves from basic subjects like types and data structures to advanced topics such as stream processing. This book is based on the bestseller Functional Programming in Scala by Rúnar Bjarnason and Paul Chiusano. What's inside Functional programming techniques for real-world situations
Common structures and idioms in functional design
Simplicity, modularity, and fewer bugs!About the reader
For Kotlin developers. No functional programming experience required. About the author
Marco Vermeulen has two decades of programming experience on the JVM. Rúnar Bjarnason and Paul Chiusano are the authors of Functional Programming in Scala.Tabel of ContentsPART 1 INTRODUCTION TO FUNCTIONAL PROGRAMMING
1 What is functional programming?
2 Getting started with functional programming in Kotlin
3 Functional data structures
4 Handling errors without exceptions
5 Strictness and laziness
6 Purely functional state
PART 2 FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
7 Purely functional parallelism
8 Property-based testing
9 Parser combinators
PART 3 COMMON STRUCTURES IN FUNCTIONAL DESIGN
10 Monoids
11 Monads and functors
12 Applicative and traversable functors
PART 4 EFFECTS AND I/O
13 External effects and I/O
14 Local effects and mutable state
15 Stream processing and incremental I/O

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Table of contents

  1. Functional Programming with Kotlin
  2. Copyright
  3. contents
  4. front matter
  5. Part 1. Introduction to functional programming
  6. 1 What is functional programming?
  7. 2 Getting started with functional programming in Kotlin
  8. 3 Functional data structures
  9. 4 Handling errors without exceptions
  10. 5 Strictness and laziness
  11. 6 Purely functional state
  12. Part 2. Functional design and combinator libraries
  13. 7 Purely functional parallelism
  14. 8 Property-based testing
  15. 9 Parser combinators
  16. Part 3. Common structures in functional design
  17. 10 Monoids
  18. 11 Monads and functors
  19. 12 Applicative and traversable functors
  20. Part 4. Effects and I/O
  21. 13 External effects and I/O
  22. 14 Local effects and mutable state
  23. 15 Stream processing and incremental I/O
  24. Appendix A. Exercise hints and tips
  25. Appendix B. Exercise solutions
  26. Appendix C. Higher-kinded types
  27. Appendix D. Type classes
  28. index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Functional Programming in Kotlin by Marco Vermeulen, Rúnar Bjarnason , Paul Chiusano in PDF and/or ePUB format, as well as other popular books in Computer Science & Object Oriented Programming. We have over one million books available in our catalogue for you to explore.