xforms
clojure-dsl-resources
Our great sponsors
xforms | clojure-dsl-resources | |
---|---|---|
4 | 6 | |
563 | 170 | |
- | - | |
5.4 | 0.0 | |
3 months ago | almost 2 years ago | |
Clojure | ||
- | 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.
xforms
- Critique of Lazy Sequences in Clojure
-
Dealing with nested transducers ?
Maybe https://github.com/cgrand/xforms The for transducer might help, just as the for comprehension helps unpack and map/filter nested stuff.
-
What are some great Clojure libraries, as of 2021?
cgrand/xforms is a very useful hidden gem, if you like transducers/eager evaluation/solving map-vals without meander/specter.
-
Why Clojure?
* It's fast enough for 99% of apps out of the box. It's fast enough for 99.99% of the apps with minimal tuning.
* Yes, if your project is very big and macro heavy, it can take some time, but startup times have improved. In any case, I BARELY need to restart my development JVM. I have one currently running that I haven't restarted for 1 week+.
* Depending on what's your cup of tea, there's emacs/CIDER or IntelliJ/Cursive. They both work well. IntelliJ/Cursive is an excellent IDE combination. I use it every day.
* Java interop is very straightforward, not sure what you mean. Sure your code might not be all pure anymore, but that's the price for solving actual problems.
* Good java libraries have wrappers. A ton of original Clojure libraries as well. https://github.com/cgrand/xforms for example allows you to easily do things that I can't even imagine doing in an imperative language.
* Static vs dynamic typing: don't want to get into that.
* "Clojurescript isn't the same language". I use both Clojure and ClojureScript every day and as far as Clojure-only code is concerned, it works in both languages 99.99% of the time. One case you can encounter issues is if you do something host-specific, like dealing with numbers. That's by design. Clojure embraces each host, does not try to reinvent it. When you just use pure Clojure data structure manipulation, it works the same across both languages and works like magic.
clojure-dsl-resources
-
Let's write a simple microservice in Clojure
Compojure's DSL for web applications makes it easy to set up REST API routes with corresponding HTTP methods. Adding a Swagger API descriptor through libraries like ring-swagger provides a visual interface for interacting with the API and enables client code generation. You can use the Prismatic schema library for HTTP request validation and data coercing to ensure the API consumes and produces data that conforms to predefined schemas. Compojure's middleware approach allows for modular and reusable components that can handle cross-cutting concerns like authentication, logging, and request/response transformations, enhancing the API's scalability and maintainability.
-
What are some great Clojure libraries, as of 2021?
The widespread use of simple data structures for almost everything makes graph data - and any data really - very, very portable and it helps to enable this emerging ecosystem of graph libraries in both the frontend and backend.
-
Just came across specter... mind blown!
A couple more: https://github.com/simongray/clojure-dsl-resources#data-matchingtransformation-dsls
-
Clojure DSL resources
I added your library under data-based DSLs.
What are some alternatives?
babashka - Native, fast starting Clojure interpreter for scripting
malli - High-performance data-driven data specification library for Clojure/Script.
meander - Tools for transparent data transformation
specter - Clojure(Script)'s missing piece
transit-format - A data interchange format.
schema - Clojure(Script) library for declarative data description and validation
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
clojure-graph-resources - A curated list of Clojure resources for dealing with graph-like data.
parinfer-rust - A Rust port of parinfer.
fulcro - A library for development of single-page full-stack web applications in clj/cljs