Ammonite-Ops VS Shapeless

Compare Ammonite-Ops vs Shapeless and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Ammonite-Ops Shapeless
15 13
2,585 3,363
0.3% -
8.5 7.5
about 10 hours ago 8 days ago
Scala 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.

Ammonite-Ops

Posts with mentions or reviews of Ammonite-Ops. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-13.
  • RFC: A Path Forward for Ammonite REPL and Scripts in 2023 and Beyond
    1 project | /r/scala | 3 Sep 2023
  • Does ammonite support indent based syntax?
    1 project | /r/scala | 23 Oct 2022
    The indent based syntax is only available in Scala 3, you have to download a matching ammonite version from https://github.com/com-lihaoyi/Ammonite/releases
  • Scala Isn't Fun Anymore
    9 projects | news.ycombinator.com | 13 Sep 2022
    That's funny, because this is what I really like about Scala; how quick and easy it is to get a project started.

    > sbt new scala/scala3.g8

    will just create an empty project. If you don't even want to bother with a project, use use scala-cli or ammonite (http://ammonite.io/) to just start banging out code.

    Even the upgrading of a project from Scala2 to Scala3 is a breeze, thanks to very good backwards compatibility of new library releases.

  • No build target could be found
    1 project | /r/scala | 30 Aug 2022
    Ammonite is a very good REPL for Scala. You can invoke it with amm and type expressions into it, or load a Scala “script file” whose name ends with .sc into it, or many other things. It’s documented at https://ammonite.io. 2. sbt is the dominant build tool for Scala projects. As others have commented, when you open a folder in Visual Studio Code and try to make Metals “aware of it,” it expects to find a “Scala project” in the folder. A “Scala project” isn’t just Scala source code. See https://www.scala-sbt.org for details. 3. Also be aware that Metals supports worksheets, so you can easily experiment with code in your project interactively, too.
  • A Python-compatible statically typed language erg-lang/erg
    27 projects | news.ycombinator.com | 13 Aug 2022
  • Scala 3 Reflection
    5 projects | /r/scala | 1 Feb 2022
    Scripting API is quite limited, so the third option. - reuse the ammonite scripts https://github.com/com-lihaoyi/Ammonite or look how this is implemented (using internal compiler API),
  • New to Scala
    1 project | /r/scala | 14 Oct 2021
    Your exposure to Functional Programming with Haskell and Clojure suggest you will certainly pick up Scala quickly. With ZIO and cats, you can write robust software quickly. Consider the excellent Coursera Scala course. Get "the Red Book" https://www.manning.com/books/functional-programming-in-scala, and most important, play. Experiment to see how things work. Get https://ammonite.io/
  • Audacity Fork Without Any Sentry Telemetry or Crash Reporting
    9 projects | news.ycombinator.com | 5 Jul 2021
    Here's an example of a smaller project that added telemetry without suffering a fork:

    https://github.com/com-lihaoyi/Ammonite/issues/607

  • Scripting with Java – Improving Approachability
    2 projects | /r/java | 12 May 2021
    Or ammonite - I've ran Gatling performance test from a simple script based on this gist it fetches all the dependencies, compiles and runs the test, producing nice html report..
  • 25 years of OCaml
    3 projects | /r/programming | 10 May 2021
    Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL.

Shapeless

Posts with mentions or reviews of Shapeless. 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)
    3 projects | /r/scala | 6 Jul 2023
    Scala 2-only: * Shapeless (there is Shapeless for Scala 3 but less often needed as basic things are in Scala 3)
  • Is there the equivalent of this in Scala ? (Maps to Struct)
    1 project | /r/scala | 27 Dec 2022
    This is the FromMap typeclass in Shapeless. Note that there’s a companion syntax package for it providing .toRecord for any Map and an appropriately-structured Record (and a Record is the LabelledGeneric representation of a case class).
  • Scala 3: modifying product types in compile-time
    1 project | /r/scala | 14 Jul 2022
    If that's what you want, you can use Shapeless' records and HList. You can probably replicate this in plain Scala 3 with tuples and literal types as you said. It won't play nice with your others libs though but maybe there are integrations.
  • Does Scala have support for Dependent types?
    1 project | /r/scala | 19 Jun 2022
    See the Shapeless Sized example.
  • How does Scala's type system compare to TypeScript's? Is it as powerful?
    1 project | /r/scala | 19 Jun 2022
    Shapeless has Sized: https://github.com/milessabin/shapeless/blob/v2.3.9/core/src/main/scala/shapeless/sized.scala
  • Fp libraries that target scala 3 exclusively?
    5 projects | /r/scala | 22 Nov 2021
    I know that libraries like Scodec and shapeless were rewritten practically from scratch for Scala 3, taking advantage of the next syntax and internals, as well as protoquill - a Scala 3 implementation of Quill.
  • Delphi 11 Alexandria Has Been Released
    4 projects | /r/programming | 23 Sep 2021
    please show me something like this: https://akka.io/ or this: https://zio.dev/ or this: https://github.com/milessabin/shapeless
  • 6 Years of Professional Clojure
    6 projects | news.ycombinator.com | 2 Aug 2021
    That largely depends on the type system. Languages like Haskell and Scala which have much more powerful type systems than C/Java/Go/etc absolutely do allow you to do those sorts of things. It is a bit harder to wrap your head around to be sure and there are some rough edges, but once you get the hang of it you can get the benefits of static typing with the flexibility of dynamic typing. See https://github.com/milessabin/shapeless or a project that I've been working on a lot lately https://github.com/zio/zio-schema.
  • Scala3: Does it provide a simplified way of doing n-term generic parameters?
    2 projects | /r/scala | 6 Jun 2021
    Just use cats and use the apply syntax .mapN for this. Seriously. There isn't a way to do it without generating source code that I can see in the api. Scala 3's HList Tuples aren't like Shapeless 2's HLists and I can't figure out a way in the api to reduce the tuple members down from (A, B, C, D) into an E, generically, yet with Scala 3 poly functions, unlike what you could do in Shapeless 2 with HList
  • Scala: A Love Story
    4 projects | dev.to | 21 Apr 2021
    Scala has sparked a huge ecosystem of very high quality libraries (Cats, Scalaz, shapeless, to name but a few). I think a major reason for this is that Scala attracts developers who value the advantages of the JVM, but are fed up with the limitations of the Java programming language and understand the benefits of an expressive type system and functional programming.

What are some alternatives?

When comparing Ammonite-Ops and Shapeless you can also consider the following projects:

better-files - Simple, safe and intuitive Scala I/O

cats - Lightweight, modular, and extensible library for functional programming.

Scalaz - Principled Functional Programming in Scala

magnolia - Easy, fast, transparent generic derivation of typeclass instances

calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows

Monocle - Optics library for Scala

scala.meta - Library to read, analyze, transform and generate Scala programs

Chimney - Scala library for boilerplate-free, type-safe data transformations

Scala-Logging - Convenient and performant logging library for Scala wrapping SLF4J.

scala-newtype - NewTypes for Scala with no runtime overhead