Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Professional Scala

You're reading from   Professional Scala Combine object-oriented and functional programming to build high-performance applications

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher
ISBN-13 9781789533835
Length 186 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Ruslan Shevchenko Ruslan Shevchenko
Author Profile Icon Ruslan Shevchenko
Ruslan Shevchenko
Mads Hartmann Mads Hartmann
Author Profile Icon Mads Hartmann
Mads Hartmann
Arrow right icon
View More author details
Toc

Popular Libraries


By this point, you should have a good understanding of the main concepts behind functional programming such as pure functions, immutability, and higher-order functions. In addition to that, you should be familiar with some of the most popular abstractions used when writing functional programs. With all of this knowledge, you are well equipped to start looking into some of the popular functional programming libraries in Scala.

In this section, we'll look at some of the popular functional programming libraries from the Scala ecosystem. After this section, you should be able to:

  • Use the Cats Validated type class to validate your data

  • Use Doobie to talk to databases

Validating Data Using Cats

In this section, we'll get a quick overview of the Cats library and look at one of the data types it provides to Validate data.

Note

For more information on Cats, refer to https://github.com/typelevel/cats.

By the end of this section, you should understand how Cats fits into the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime