Monocle
Monocly
Our great sponsors
Monocle | Monocly | |
---|---|---|
5 | 1 | |
1,628 | 32 | |
0.3% | - | |
8.3 | 1.8 | |
6 days ago | over 2 years ago | |
Scala | Scala | |
MIT License | 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.
Monocle
-
Show HN: Monocle – bidirectional code generation library
A very popular Scala optics library is also called Monocle. I’ve been a happy user for a few years:
-
Monocle 3 Roadmap
We always have work to do, for example to define scalfix rules to automate the migration https://github.com/optics-dev/Monocle/issues/1001
Monocly
-
Monocle 3 Roadmap
Now, Scala 3 might change that. We will have parametric functions and opaque types, so I think it is worth trying. We have already made experiments in Monocly, a playground repo for Scala 3 optics. I believe Yillin Wei has a fork with a proof of concept of profunctor encoding that supports index and coindex optics.
What are some alternatives?
Quicklens - Modify deeply nested case class fields
Shapeless - Generic programming for Scala
Chimney - Scala library for boilerplate-free, type-safe data transformations
cats - Lightweight, modular, and extensible library for functional programming.
Scalaz - Principled Functional Programming in Scala
Scala Graph - Graph for Scala is intended to provide basic graph functionality seamlessly fitting into the Scala Collection Library. Like the well known members of scala.collection, Graph for Scala is an in-memory graph library aiming at editing and traversing graphs, finding cycles etc. in a user-friendly way.
Scala Blitz - Scala framework for efficient sequential and data-parallel collections -
Each - A macro library that converts native imperative syntax to scalaz's monadic expressions
scribe - The fastest logging library in the world. Built from scratch in Scala and programmatically configurable.
Twitter Util - Wonderful reusable code from Twitter
chronoscala - A JSR-310 port of nscala_time
Enumeratum - A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations.