Ammonite-Ops
cats
Our great sponsors
Ammonite-Ops | cats | |
---|---|---|
10 | 23 | |
2,489 | 4,683 | |
0.2% | 0.6% | |
7.7 | 9.6 | |
7 days ago | 5 days ago | |
Scala | Scala | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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
-
Scala 3 Reflection
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
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
Here's an example of a smaller project that added telemetry without suffering a fork:
-
Scripting with Java – Improving Approachability
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
Scala with the Typelevel ecosystem. Stay on the jVM, but have a much more pleasant and robust experience, including a great REPL.
-
The Scala ecosystem and circular dependencies?
If you are installing, and you are learning, I would also recommend ammonite as an easier REPL.
-
IPython as a System Shell
I've been using amm on and off https://ammonite.io/#Ammonite-Shell
pretty nice if you know scala, still have to use regular shell(s) so I do not forget them
- Ammonite: Scala Scripting
-
A Lisp REPL as my main shell
I've never tested Ammonite, only read the https://ammonite.io/#Ammonite-Shell, so I'm only guessing here.
From what I understand, Ammonite was designed as a "readline shell" as I wrote in the article. It perpetuates this approach that everything is a command.
The thesis of my article suggests we do the opposite: I'm suggesting to rethink shells by starting from the interface (here the SLY REPL) and then implement the shell features.
In particular, it seems that Ammonite does not support back-references and I'm not sure it has an interactive inspector.
While Ammonite seems to be a definite improvement over the _syntax_ of Bash, etc., I'm not sure it brings much novelty in terms of user interface. But again, I know very little about it so I may have missed some features :)
I wonder what people think about Ammonite (https://ammonite.io/)?
It's not Lisp but Scala so may not be the authors language of choice however it can be used as a Shell: https://ammonite.io/#Ammonite-Shell
I am personally using it and compared to a classical shell like Bash it's really nice for more structured data related tasks (exploring some API, checking some data, creating a bunch of PRs at once, ...).
It also makes use of Scala's adjustable syntax and functional concepts so you basically get shell piping but in a strongly typed fashion (e.g.
cats
-
Can someone explain what is this doing?
Is that the pure from the Cats library? https://github.com/typelevel/cats/blob/main/alleycats-core/src/main/scala/alleycats/Pure.scala
-
Trying to decide on Scala or Kotlin
Cats is a library which provides abstractions for functional programming in the Scala programming language. The name is a playful shortening of the word category. https://typelevel.org/cats/
-
Oh no! te cruzaste con un gato de IT ¿le pedís que te enseñe python o java?
Obviamente que teoria de categorias https://typelevel.org/cats/
- fp-ts ユーザが Scala with Cats を読み終えたので、fp-ts と Cats の違いをまとめてみた
- Database migrations in Scala
-
Best Scala framework / libraries out there ?
Akka HTTP, Cats, Quill, ninny, Monix Observable, mill.
-
Need to deal with squeryl LogicalBoolean
Have a look at Profunctor. Specifically at rmap
-
Java Virtual Machine Garbage Collection and Its Performance Impact
Example of how it makes life worse
-
Advances In The ZIO 2.0 Scheduler
But not so long ago he was doing releases for Cats even though he was officially out of TL. And when he had some outburst I saw more support from TL-related people than scolding. Unless he really went over the top (like the time he ranted some guy on GitHub) there was no action.
-
I know the basics, what’s next?
Scala really shines for more advanced FP (compared to Java, Kotlin, C#, Swift etc.) so I would suggest learning more about that. For example look into ZIO or Cats (or Cats Effect). You can find many tutorial videos on YouTube for these libraries.
What are some alternatives?
Shapeless - Generic programming for Scala
Scalaz - Principled Functional Programming in Scala
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
better-files - Simple, safe and intuitive Scala I/O
Monocle - Optics library for Scala
Scala Async - An asynchronous programming facility for Scala
Quicklens - Modify deeply nested case class fields
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.
ScalaTest - A testing tool for Scala and Java developers
calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows
Scala-Logging - Convenient and performant logging library for Scala wrapping SLF4J.