specter
Advent_of_Code
specter | Advent_of_Code | |
---|---|---|
18 | 14 | |
2,479 | 7 | |
0.0% | - | |
0.0 | 3.7 | |
about 1 year ago | 7 months ago | |
Clojure | Python | |
Apache License 2.0 | 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.
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.
Advent_of_Code
-
Advent of Code day 12 advise
Then I came across this Python solution, which was quite short and concise. So I implemented this solution in F#, but I had to use a mutable. I couldn't figure out how to get rid of this mutable. Is there a way, or is this solution not a F# one?
-
-🎄- 2021 Day 21 Solutions -🎄-
My solutution in Python. Using itertools.cycle for part 1 and functools.cache for part 2.
-
-🎄- 2021 Day 16 Solutions -🎄-
My solution in Python. This one was fun! Thanks for the many samples and the detailed description.
-
-🎄- 2021 Day 15 Solutions -🎄-
My solution in Python. At first I was really struggling but then I luckily found some A* pathfinding code I wrote many years ago.
-
-🎄- 2021 Day 14 Solutions -🎄-
My Solution in Python. This one is pretty compact and amazingly fast thanks to collections.Counter and functools.lru_cache. Here is the function for counting the elements:
-
-🎄- 2021 Day 12 Solutions -🎄-
My solution in Python. A simple search without recursion.
-
-🎄- 2021 Day 11 Solutions -🎄-
My solution in Python. It's astonishing how much trouble I had today despite my experience with cellular automata.Lots of off-by-one errors and problems with synchronicity.
-
-🎄- 2021 Day 7 Solutions -🎄-
My solution in Python. I realised that I could use the median for part 1 and mean for part 2 like some others here.
-
-🎄- 2021 Day 6 Solutions -🎄-
My solution in Python. Today was fun and very easy. I immediately came to the same conclusion as others here to simply count the number of fish per age group.
-
-🎄- 2021 Day 5 Solutions -🎄-
My solution in Python. Now it starts to get interesting. I need to remind myself to use collections and itertools more often.
What are some alternatives?
meander - Tools for transparent data transformation
advent-of-code-2021 - 🎄 My Advent of Code solutions in Rust. http://adventofcode.com/2021
malli - High-performance data-driven data specification library for Clojure/Script.
advent-2021-kotlin - :christmas_tree: Advent of Code 2021: Solutions in Kotlin
clojure-graph-resources - A curated list of Clojure resources for dealing with graph-like data.
advent-of-code-2021
crux - General purpose bitemporal database for SQL, Datalog & graph queries. Backed by @juxt [Moved to: https://github.com/xtdb/xtdb]
aoc-2021-rust
schema - Clojure(Script) library for declarative data description and validation
advent-of-rust-2021 - Solutions to Advent of Code 2021 in Rust
fulcro - A library for development of single-page full-stack web applications in clj/cljs
aoc2021-day2-part1