pfps-shopping-cart
scala-steward
Our great sponsors
pfps-shopping-cart | scala-steward | |
---|---|---|
35 | 4 | |
517 | 1,120 | |
- | 1.3% | |
0.0 | 9.4 | |
6 days ago | 5 days ago | |
Scala | Scala | |
Apache License 2.0 | Apache License 2.0 |
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.
pfps-shopping-cart
-
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
if you don't want to read a book and just want the code it is on github here: https://github.com/gvolpe/pfps-shopping-cart/tree/second-edition
- 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.
-
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.
- Switching career from F# to scala
-
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?
-
Scala became Typelevel/Zio only ecosystem?
Practical FP in Scala
- Top Rated Scala Books of June 2022
scala-steward
-
Secure the Dependencies of your Scala Project on Github
To not confuse anyone reading this, these are actually pretty radically different. Keep in mind that Renovate is literally just doing regex on your build files. While this is great for simple things and sending in some updates, I know first hand this is far inferior to the update support you'll get by using something like Scala Steward.
-
Looking for a really good/complex example codebase or tutorial for Scala FP
https://github.com/scala-steward-org/scala-steward Might be the one you are looking for
- Scala projects to read through
-
Software Is Drowning the World
This is one of the reasons why statically typed languages have a big advantage when it comes to maintenance.
Take Scala for example. There is now mature tooling for keeping your dependencies / libraries up-to-date automatically, using automatic migration-scripts (must be provided by the library author of course).
See here: https://github.com/scala-steward-org/scala-steward/blob/mast...
The difficult part here is of course to write the migrations. This works very well in Scala (and can work as well in certain other languages) because the type-system provides enough information to do automatic rewrites and it is easy to _not_ use unsound techniques such as reflection, code generation, macros etc.
The reason why we don't see such tooling in other languages yet is that they are either dynamically typed, which makes it almost impossible to write migration scripts that pretty much always work. Or they are statically typed, but the typesystem is so limited, that developers have to fall back on mentioned unsound features.
What are some alternatives?
renovate - Universal dependency automation tool.
scala-pet-store - An implementation of the java pet store using FP techniques in scala
codemod - Codemod is a tool/library to assist you with large-scale codebase refactors that can be partially automated but still require human oversight and occasional intervention. Codemod was developed at Facebook and released as open source.
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
fly4s - A lightweight, simple and functional wrapper of Flyway using cats effect.
tagless-final - [Moved to: https://github.com/DevInsideYou/tagless-final]
zio-todo
Http4s - A minimal, idiomatic Scala interface for HTTP
tapir - Declarative, type-safe web endpoints library
shopping-cart-haskell - :gem: Haskell version of the Shopping Cart application developed in the book "Practical FP in Scala: A hands-on approach"
Eso - A (mostly) purely functional console-based esoteric language interpreter.
scalac-options - A DSL for scalacOptions