fgl
A Functional Graph Library for Haskell (by haskell)
miso
:ramen: A tasty Haskell front-end framework (by dmjio)
Our great sponsors
fgl | miso | |
---|---|---|
5 | 17 | |
176 | 2,072 | |
-0.6% | - | |
0.0 | 2.8 | |
4 months ago | 9 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | 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.
-
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.
-
-🎄- 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.
miso
Posts with mentions or reviews of miso.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-21.
-
jsaddle + firefox
Patching jsaddle by applying this commit made JSaddle usable in Firefox for me, but it has the downside that preventDefault/stopPropagation no longer work (see this issue for more info).
- Resurrection/modernization of an old Haskell+Haste project (boardgame Yinsh)
- School of Haskell: Basics
- JavaScript Hydration Is a Workaround, Not a Solution
- Web development in Haskell
-
The Big List of Haskell GUI Libraries
Miso does support jsaddle, docs mention this under the "Live reload with jsaddle" section, although it could be more prominent.
-
A small benchmark for functional languages targeting web browsers
For those interested in DOM-related benchmarks using GHCJS. Miso has some benchmarks here: https://krausest.github.io/js-framework-benchmark/current.html (Ctrl+F `miso`)
-
Options for a frontend of demo for a toy app
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?
via ghcjs (miso, etc.)
-
Anything like Svelte/Jetpack Compose for Haskell?
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 are some alternatives?
When comparing fgl and miso you can also consider the following projects:
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
graphite - Haskell graphs and networks library
hevm - Dapp, Seth, Hevm, and more
Agda - Agda is a dependently typed programming language / interactive theorem prover.
adjunctions - Simple adjunctions
containers - Assorted concrete container types
psqueues - Priority Search Queues in three different flavors for Haskell
helf - Haskell implementation of the Edinburgh Logical Framework
ethereum-client-haskell
distributive - Dual Traversable