|2 months ago||6 days ago|
|BSD 3-clause "New" or "Revised" License||BSD 3-clause "New" or "Revised" 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.
-🎄- 2021 Day 12 Solutions -🎄-
145 projects | reddit.com/r/adventofcode | 11 Dec 2021
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 -🎄-
185 projects | reddit.com/r/adventofcode | 8 Dec 2021
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.
Options for a frontend of demo for a toy app
6 projects | reddit.com/r/haskell | 13 Jun 2022
ghcjs is the way to go for you, and soon it might be asterius. i do not know how hard it is to set ghcjs up without a framework. but frameworks like obelisk (based on reflex-dom), shpadoinkle, and miso automate that for. i personally like obelisk for its functional reactive programming but it can get awkward and get in your way. so if gui programming is just a means to the end of this one small application and you are not really interested in it nor functional reactive programming, shpadoinkle or miso might suit you better. miso implements the elm architecture (also "TEA", "functional model view controller") and shpadoinkle implements something directly equivalent to the elm architecture. but shpadoinkle achieves more composable widgets by minimalizing the elm architecture. so i recommend shpadoinkle for its better concept although miso is more mature.
How do you deal with GUI?
3 projects | reddit.com/r/haskell | 13 Jan 2022
via ghcjs (miso, etc.)
Anything like Svelte/Jetpack Compose for Haskell?
4 projects | reddit.com/r/haskell | 4 Dec 2021
I've built miso, https://haskell-miso.org and it does use the VDOM appraoch. Svelte uses static analysis to compile down to the minimum number of DOM operations required to run your specific app. I think it's the future. This would only be possible in Haskell w/ GHCJS, since you'd need the GHCJS runtime to support it.
What web framework would you recommend to a newbie at this time?
6 projects | reddit.com/r/haskell | 8 Nov 2021
Memory from finished thread is not getting reclaimed
Eventually, miso will maybe use haskell.nix directly by itself: https://github.com/dmjio/miso/pull/656
I don't know if it is relevant to you, but miso (both master and latest release) work just fine with GHCJS 8.10.
Other than that, I ran into a GHCJS and Miso bug, but they weren't too hard to solve.
When is Haskell the right choice?
4 projects | reddit.com/r/haskell | 26 Jan 2021
Miso works quite well if used through provided Nix derivations.
What are some alternatives?
ihp - 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
hevm - Dapp, Seth, Hevm, and more
adjunctions - Simple adjunctions
distributive - Dual Traversable
graphite - Haskell graphs and networks library
psqueues - Priority Search Queues in three different flavors for Haskell
EdisonAPI - Edison: A Library of Efficient Data Structures
containers - Assorted concrete container types
Agda - Agda is a dependently typed programming language / interactive theorem prover.
repa-array - High performance, regular, shape polymorphic parallel arrays.