rama-demo-gallery
specter
rama-demo-gallery | specter | |
---|---|---|
6 | 18 | |
69 | 2,479 | |
- | 0.0% | |
5.8 | 0.0 | |
3 months ago | about 1 year ago | |
Java | Clojure | |
Apache License 2.0 | Apache License 2.0 |
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.
rama-demo-gallery
- Rama is a testament to the power of Clojure
-
Everything wrong with databases and why their complexity is now unnecessary
This is the bank transfer example we show in rama-demo-gallery. There's both Java and Clojure versions of that example. https://github.com/redplanetlabs/rama-demo-gallery
The atomic bank transfer is done as part of function(data). The data record contains fromAccountId, toAccountId, and amount. The function applies the transfer if it's valid (fromAccountId has at least that amount of funds), and no-ops otherwise.
- transactional bank transfer example – Rama Clojure
-
Rama Demo Gallery (Beyond the Mastodon Impl)
The bank transfer module is particularly neat: https://github.com/redplanetlabs/rama-demo-gallery/blob/mast...
specter
-
Rama is a testament to the power of Clojure
> Another example is Specter. Specter is a generically useful library for querying and manipulating data structures
> https://github.com/redplanetlabs/specter/tree/master/src
> MutableCell.Java. 8 years ago
package com.rpl.specter;
-
Why your F# evangelism isn't working
If you are truly interested in understanding my point of view -- a great way to do it would be to learn how to use this Clojure DSL: https://github.com/redplanetlabs/specter
-
Digging into deeply nested sequence in Clojure
For deeply nested data, use specter https://github.com/redplanetlabs/specter
-
Advent of Code inside the REPL
Yes :), I needed a fast dijkstra implementation to solve a puzzle in 2021. A pure clojure implementation was too slow so i built one on top of this https://github.com/redplanetlabs/specter
-
Lisp feature - domain specific language
https://github.com/redplanetlabs/specter (very powerful way to express modifications to nested data)
-
Working with large maps
Don't forget about specter which is efficient and compact due to its DSL.
- How to modify a nested element of a list
- Making a small change to a big data structure in Clojure
-
Nested mapping?
Learn and use specter for nested data manipulation, will take some studying but is a more general solution (https://github.com/redplanetlabs/specter)
-
-🎄- 2021 Day 16 Solutions -🎄-
For part 1, the version (and other things) are attached to the metadata of each sexp, and a Specter recursive path is used to extract all of the versions.
What are some alternatives?
meander - Tools for transparent data transformation
malli - High-performance data-driven data specification library for Clojure/Script.
clojure-graph-resources - A curated list of Clojure resources for dealing with graph-like data.
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
schema - Clojure(Script) library for declarative data description and validation
fulcro - A library for development of single-page full-stack web applications in clj/cljs
clojure-dsl-resources - A curated list of Clojure resources for dealing with domain-specific languages.
JsonPath - Java JsonPath implementation
hello-world - Innocent first test.
xforms - Extra transducers and reducing fns for Clojure(script)
nested-data-structure-traversal
reagent - A minimalistic ClojureScript interface to React.js