fgl
A Functional Graph Library for Haskell (by haskell)
aoc-2021
Advent of Code 2021 with C#/LINQ (by jasonincanada)
fgl | aoc-2021 | |
---|---|---|
5 | 12 | |
183 | 0 | |
0.5% | - | |
6.6 | 0.0 | |
20 days ago | over 2 years ago | |
Haskell | C# | |
BSD 3-clause "New" or "Revised" License | - |
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.
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.
fgl
Posts with mentions or reviews of fgl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
-
N-ary Tree data structure with efficient parent access?
Your names are good, I reckon it is Martin Erwig's fgl stuff and Andrey Mokhov's algebraic-graphs that you have in mind.
-
Library for Tree-like data structure
I am about to start a new project in Haskell, model checking with (new) tree-like data structures. I think it is best to start building on a library such that i can already have elegant base functions, yet i am wondering what library is currently the standard? I read about fgl ( https://hackage.haskell.org/package/fgl ), yet it is a very old library.
-
Want to start a new project and I'm wondering if Haskell is the right tool for it
Couple of approaches to graphs that are state-free: functional graphs and algebraic graphs
-
-🎄- 2021 Day 12 Solutions -🎄-
Using fgl but only as a data structure this time, with edge labels denoting whether the target is a big room. Not using any of its algorithms as it doesn't have anything built-in for "traversal with re-visiting".
-
-🎄- 2021 Day 9 Solutions -🎄-
For part 2, instead of trying to union-merge from the lowest points, I simply found all connected regions of <9. I say "simply" because I just threw things at fgl, but setting the graph up first took a bit of work. buildGr is fast but picky about the exact order things come in with.
aoc-2021
Posts with mentions or reviews of aoc-2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-16.
-
-🎄- 2021 Day 17 Solutions -🎄-
Basic C# solution with a straightforward try-everything simulation. This one could've been called 50 Thousand Iterations Under the Sea
-
-🎄- 2021 Day 15 Solutions -🎄-
C# solution
-
-🎄- 2021 Day 14 Solutions -🎄-
C# solution, I keep letter pair counts in a square grid and a separate map for individual letter counts
-
-🎄- 2021 Day 12 Solutions -🎄-
C# solution with basic graph search. I track the step counts to each cave and decide which next caves to take based on them, and prune it after returning from a recursive call to SearchFrom
-
-🎄- 2021 Day 10 Solutions -🎄-
C# solution with a straightforward stack-based approach. I modeled sum types using abstract record on line 62 to handle the three different return values from the processing function
-
-🎄- 2021 Day 9 Solutions -🎄-
C# solution, simple flood-fill type algo. I found a use for C# 9.0's record types, explained in the blurb at the top of the file
-
-🎄- 2021 Day 8 Solutions -🎄-
C# solution with a manual deduction process (one of many possible no doubt) that I figured out in the hours after midnight, then I slept on it and it took all morning to actually code the thing, but I like the result. Again a sprinkling of LINQ makes it bearable to write and read
-
-🎄- 2021 Day 7 Solutions -🎄-
C# code tries all positions between first and last crab
-
-🎄- 2021 Day 6 Solutions -🎄-
C# solution same as most others but with a bit of LINQ
-
-🎄- 2021 Day 5 Solutions -🎄-
C# nothing noteworthy other than LINQ saving the day again
What are some alternatives?
When comparing fgl and aoc-2021 you can also consider the following projects:
Agda - Agda is a dependently typed programming language / interactive theorem prover.
adventofcode
adjunctions - Simple adjunctions
scrapyard - Space for notes and experiments while learning the Rust programming language
psqueues - Priority Search Queues in three different flavors for Haskell
advent-of-code-2021-rescript - Advent of Code 2021 - implemented in ReScript
distributive - Dual Traversable
AOC - Advent of Code solutions
ethereum-client-haskell
aoc2021
miso - :ramen: A tasty Haskell front-end framework
AdventOfCode2021.jl - Advent of Code 2021 in Julia