|over 4 years ago||6 days ago|
|Apache License 2.0||MIT License|
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.
We haven't tracked posts mentioning Persist-Logging yet.
Tracking mentions began in Dec 2020.
Help with Single Value Validated Types
2 projects | reddit.com/r/scala | 27 Aug 2021
You want either a refined type, a newtype, or if you are in Scala 3 an opaque type.
Alan Kay's answer to What was the last breakthrough in computer programming?
3 projects | news.ycombinator.com | 17 Aug 2021
Types versus sets in math and programming languages
1 project | reddit.com/r/ProgrammingLanguages | 24 Jul 2021
Option as type of field in case class
1 project | reddit.com/r/scala | 28 Apr 2021
Additionally, I also like to use Refined, so that my names are actually NonEmptyStrings, and I'll usually go even farther and make a LastName type alias to NonEmptyString and a FirstName type alias to NonEmptyString so that I can legitimately return just Char as an initial, for example. That way parsing guarantees you're not just sending me empty stuff that is just as useless as an empty person, and also so that I don't accidentally put a FirstName where a LastName should go somewhere in my code.
Using refined to improve type safety and error reporting in Scala
1 project | reddit.com/r/scala | 12 Apr 2021
I wrote a short piece on my company's blog explaining how we used refined to validate incoming data and parse it into more… well, refined types: https://engineering.contentsquare.com/2021/scala-refined-types/
Why there is still no ExpressJS-like alternative in Scala?
5 projects | reddit.com/r/scala | 7 Jan 2021
This example uses probably the most popular JSON library for Scala, Circe. There is another Scala library that lets us "be more specific with," or "refine," our types, called Refined. http4s doesn't provide any particular support for Refined, but Circe has a module integrating Refined, meaning that all of Circe's parsing, encoding, and decoding support is integrated with Refined. Putting together http4s' Circe support, Circe's generic codec derivation, and Circe's Refined integration, here's what I came up with:
What are some alternatives?
Scalaz - Principled Functional Programming in Scala
Shapeless - Generic programming for Scala
scribe - The fastest logging library in the world. Built from scratch in Scala and programmatically configurable.
Freestyle - A cohesive & pragmatic framework of FP centric Scala libraries
Records for Scala - Labeled records for Scala based on structural refinement types and macros.
Cassovary - Cassovary is a simple big graph processing library for the JVM
Lamma - Lamma schedule generator for Scala is a professional schedule generation library for periodic schedules like fixed income coupon payment, equity deravitive fixing date generation etc.
Ammonite-Ops - Scala Scripting
Log4s - High-performance SLF4J wrapper for Scala.
Squid - Squid – type-safe metaprogramming and compilation framework for Scala