UnPack.jl
`@pack!` and `@unpack` macros (by mauro3)
magnolia
Easy, fast, transparent generic derivation of typeclass instances (by propensive)
UnPack.jl | magnolia | |
---|---|---|
1 | 4 | |
82 | 747 | |
- | 1.2% | |
0.0 | 7.9 | |
over 1 year ago | 6 days ago | |
Julia | Scala | |
MIT License | 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.
UnPack.jl
Posts with mentions or reviews of UnPack.jl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-08.
-
Multiple assignment and tuple unpacking improve Python code readability
That’s cool that this is in Julia Base! Do you know how it compares to Unpack.jl? I love this feature because you can do partial unpacking by name
https://github.com/mauro3/Unpack.jl
magnolia
Posts with mentions or reviews of magnolia.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
Question regarding Recursive datatypes and cats typeclasses (Haskell to Scala)
Scala 2/3: * Magnolia
-
Beginner's guide to derivations in Scala
If Mirror is too low level, I'd suggest playing with Magnolia https://github.com/softwaremill/magnolia. I haven't found any posts about it, I plan to publish something myself as a follow up to the one above. In the meantime you might want to check out magnolia examples https://github.com/softwaremill/magnolia/tree/scala3/src/examples
-
Some notes on developing a structured logging API for Scala
The second feature is the auto-derivation for case classes using Magnolia. This saves a bunch of typing for case classes, while fitting neatly into field builders. This is not new if you've used Shapeless, but I found the macro-based approach in Magnolia much easier conceptually. I did find a small bug but it's easy enough to work around.
-
How to improve scala skills
Using shapeless is completelly optional and has a lot of disadvantages. I'd not even consider it a good learning material for functional programming. Magnolia is a bit more robust and has much better design, debugging and implicits resolution - it will be less pointful than starting with shapeless.
What are some alternatives?
When comparing UnPack.jl and magnolia you can also consider the following projects:
cant - A programming argot
Shapeless - Generic programming for Scala
julia - The Julia Programming Language
seals - Tools for schema evolution and language-integrated schemata
drei - 🥉 useful helpers for react-three-fiber
Learn-by-doing functional programming course on Scala - learn-by-doing course/tutorial for functional programming on scala
schism - A self-hosting Scheme to WebAssembly compiler
kittens - Automatic type class derivation for Cats
handlebars-helpers - 188 handlebars helpers in ~20 categories. Can be used with Assemble, Ghost, YUI, express.js etc.
echopraxia-plusscala - Scala API for Echopraxia