cats-mtl
cats transformer type classes. (by typelevel)
pfps-shopping-cart
:shopping_cart: The Shopping Cart application developed in the book "Practical FP in Scala: A hands-on approach" (by gvolpe)
cats-mtl | pfps-shopping-cart | |
---|---|---|
1 | 35 | |
309 | 537 | |
-0.6% | -0.2% | |
8.2 | 0.0 | |
7 days ago | 2 days ago | |
Scala | Scala | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cats-mtl
Posts with mentions or reviews of cats-mtl.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Gathering dependency management approaches
the advanced alternative to the reader monad is to use cats-mtl so you're just asking for capabilities of your effect, like Ask[F, GlobalConfig]
pfps-shopping-cart
Posts with mentions or reviews of pfps-shopping-cart.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
Where can I find a Typelevel code example?
Gabriel Volpe has a book that goes over just that using the typelevel stack. I highly recommend it: https://leanpub.com/pfp-scala
- Scala real world projects
-
Udemy vs Rock the JVM for Cats, Cats Effect, and FS2
The only issue I had was how to put all this knowledge together. For that I bought Practical FP in scala by Gabriel Vlope, it's not for beginners, tho but takes you through a project with the latest typelevel stack. Here's the link. https://leanpub.com/pfp-scala.
-
Any recommended design pattern resources?
This is a really good book https://leanpub.com/pfp-scala
-
Already learned Scala syntax. Should the next book be "SICP" or "Function Programming in Scala"?
If you want a solid understanding of FP and not just FP in Scala, I highly recommend installing GHCup and working through Haskell Programming From First Principles. Then I would work through Scala With Cats, Essential Effects, and Practical FP in Scala for how all of that maps onto Scala.
-
Argument against mutation in functional programming.
Practical FP in Scala
- Switching career from F# to scala
- Need help to understand fs2 library
-
Confusion about Tagless Final
BTW for learning good application structure with Tagless Final I really recommend the book Practical FP in Scala and its work-along example application. That's where I stole the pattern above from.
- Is transitioning from Haskell really that hard?
What are some alternatives?
When comparing cats-mtl and pfps-shopping-cart you can also consider the following projects:
tofu - Functional programming toolbox
os-lib - OS-Lib is a simple, flexible, high-performance Scala interface to common OS filesystem and subprocess APIs
Learn-by-doing functional programming course on Scala - learn-by-doing course/tutorial for functional programming on scala
scala-pet-store - An implementation of the java pet store using FP techniques in scala
Scala Exercises - The easy way to learn Scala.
fly4s - A lightweight, simple and functional wrapper of Flyway using cats effect.