Elm
reflex
Our great sponsors
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SaaSHub - Software Alternatives and Reviews
Elm | reflex | |
---|---|---|
194 | 16 | |
7,329 | 1,047 | |
0.3% | 0.4% | |
0.0 | 0.0 | |
about 1 month ago | 19 days ago | |
Haskell | Haskell | |
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.
Elm
- Course using F#: Write your own tiny programming system(s)
-
Building React Components Using Unions in TypeScript
I get it. However, the whole point of using Unions to narrow your types, ensure only a set of possible scenarios can occur, and only access data of a particular union when it’s safe to do so. That’s some of what pattern matching can provide, and 100% of what using switch statements in TypeScript with their Discriminated Unions can provide. Yes, it’s not 100% exhaustive, but TypeScript is not soundly typed, and even Elm which is still has the same issue TypeScript does: You’re running in JavaScript where anything is possible. So it’s good enough to build with and much better than what you had.
-
How to render a basic calendar UI in Elm
The beauty of a language like Elm (and other lambda-calculus / functional programming inspired languages) is that there's very little transformation involved in going from an idea to code. And that seems to have a big impact on getting things done.
- Como desenvolvi um backend web em Clojure
-
Is it possible to write games like Pac-Man in a functional language?
I think the most fun and approachable way for beginners to build games with functional programming is with Elm [1].
See a few (small, demo) games built by the community in [2] .
Notice Elm has abandoned the FRP approach in favor of Model-View-Update [3].
- Qual a linguagem que vocês mais gostam de programar?
-
Node still seems better than python after all this time for web server speed but..
Also check out some "compiled to JS" langs like https://elm-lang.org/.
- Ask HN: What are some of the most elegant codebases in your favorite language?
-
Is there any alternative other than JavaScript to deal with web frontend?
Elm has an impressive take on how to model front-end apps and claims to avoid a whole category of issues.
-
An Elm Fork
For one, it's been over 2 years without an elm release. And there are many open bugs untracked in GitHub. https://github.com/elm/compiler/issues
Unrelated to your question but for those curious, here's a comparison between Gren and Elm :
https://gren-lang.org/book/faq.html#what-are-the-differences...
reflex
-
Reflex – Web apps in pure Python
Not to be confused with Reflex, allowing web apps in pure Haskell: https://reflex-frp.org/
-
Interactive animations
FRP solutions sound very attractive. But reflex seems to be stuck on the outdated GHCJS, and I haven't been able to get it to build. The newer JS output in GHC doesn't yet have DOM support. And even if I used one of those, figuring out how to interact with a LaTeX renderer might be tricky.
-
The Quest for the Ultimate GUI Framework
I only have experience using Reflex, which I regard as the main contender for FRP UI libraries in the Haskell sphere. It's got a flashy website, but I think the documentation is a bit disorganized -- it took a long time for me to figure out how to get going with the library (you find some pieces of knowledge scattered here and there, if you look hard enough). My plan was to learn it well enough to onboard other people, but I don't think I could convince anyone who hasn't already decided that they're gonna make UIs in Haskell no matter the required effort.
-
Simple GHC stack for a novice
Once someone has spent a bunch of time with Haskell and sees the value, they will find Nix if it makes sense. Maybe they'll want to play with https://reflex-frp.org, or they'll discover they want a better way to package 3rd-party dependencies, or they start using NixOS and want to nix all the things, etc. etc. Or, maybe they'll never find a use for it, and that's okay.
- Functional Reactive Programming
-
Exploring ideas in Haskell
Now, I've been convinced to take another look at reflex. This quick reference seems very useful, most other resources seem to always discuss reflex-dom specifically. I'm not really interested in that.
-
Is Haskell capable of this?
Have a look at https://reflex-frp.org/, or https://owickstrom.github.io/gi-gtk-declarative/, they are an interesting and different way of working with UI in a non imperative way.
-
Why Do We Need Transpilation into JavaScript?
At present, here at Typeable we develop frontend in Haskell and use the web framework Reflex and the functional reactive programming (FRP). The source code in Haskell is transpiled into the JavaScript code using GHCJS.
-
Comparing Elm with Reflex
Reflex is the framework that allows creating reactive web applications in Haskell.
-
Discussion Thread
Also you’re the Haskell guy no? Found this while reading a Wikipedia article
What are some alternatives?
rescript-compiler - The compiler for ReScript.
purescript - A strongly-typed language that compiles to JavaScript
haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.
yew - Rust / Wasm framework for creating reliable and efficient web applications
idris - A Dependently Typed Functional Programming Language
sodium - Sodium - Functional Reactive Programming (FRP) Library for multiple languages
haskell-names - Haskell suite library for name resolution
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
language-thrift - Haskell parser for the Thrift IDL format.
Cycle.js - A functional and reactive JavaScript framework for predictable code
Svelte - Cybernetically enhanced web apps
lens-toml-parser - Lenses for toml-parser