atomic
elm-architecture-tutorial
atomic | elm-architecture-tutorial | |
---|---|---|
12 | 38 | |
32 | 4,163 | |
- | - | |
6.8 | 0.0 | |
6 days ago | over 4 years ago | |
JavaScript | Elm | |
MIT 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.
atomic
-
Should all Clojure functions be polymorphic by default?
I wanted ClojureScript, without transpilation, in the browser so badly I implemented much of it in plain JS. But JS still lacks first-class protocols (although there is a T39 proposal for them) so I have to implement protocols first. And I can tell you from having implemented much of Clojure myself in plain JS that it's protocols all the way down. 80% of my library are types and their protocols.
-
Do you do full-on FP in JavaScript? Want it?
I've watched a lot of talks, but it was Rich Hickey's which most captivated me and, ultimately, inspired big change in how I coded. After discovering Clojure I was so desiring FP (i.e. ClojureScript) in the browser without a build step and hoard of dependencies that I wrote my own library.
-
FP and JavaScript/TypeScript
I fell in love with Clojure and ported most of the tools to plain ol' JavaScript. I stole reactives and FRP from Elm. I write a functional core then wrap it with an imperative shell. It's been my mainstay for 10 years now.
-
What do functional programmers like functional programming?
What I did was looked past the languages at the ideas and saw they could be applied everywhere, including JavaScript. Take a look at my example programs (via prior link) and you can see Clojure applied to the JavaScript/browser realm.
-
Writing Javascript without a build system
I have found that the amount of code needed to support any page/app need not be massive. I have implemented modern board games with 250-300KB of js and the core lib I use on all my projects maxes out around 250KB, unminified. The lib itself is built on the premise of build avoidance.
-
Do you guys work with other languages?
I do JavaScript most of the time, but I was so inspired that I ported the Clojure mindset into the web development world so I could use it even in the absence of Clojure. I know there's ClojureScript, but I wanted the goodness without transpilation.
-
On Not Drinking the FP Kool-Aid
So I don't even do Clojure per se. I do Clojure in JavaScript without ClojureScript.
-
side effects in fp: to accept or not to accept
I use functional core, imperative shell. It would have you write a core which is a pure simulation. Write everything in the core using immutable data and pure functions. I elaborate on that here, along with examples.
- GitHub - mlanza/atomic: Write Clojuresque functional core, imperative shell programs in JavaScript.
- Clojuresque functional core, imperative shell programs in JavaScript
elm-architecture-tutorial
-
Korean software is not user friendly!
I'm learning Haskell right now, pure functional language, but if anyone is interested, Elm is based on Haskell and much easier to learn. Elm is a web development language that compiles to JS. https://guide.elm-lang.org/
-
Is there any alternative other than JavaScript to deal with web frontend?
Elm is a different approach that compiles into JavaScript. In the extreme case, you have Emscripten which will compile many language into JavaScript but will feel really clumsy compared to using JavaScript in a lot of cases.
-
It’s painfully obvious there is a lack of understanding for the very basics of React
And if you want to stay in the UI realm, Elm is a good introduction into functional programming.
-
Good JS coding challenges website for daily tasks practice (no Leetcode)?
If you want to get better at data structures you should strongly consider learning a functional language. A huge part of functional programming is manipulating data structures. The language Elm is a great place to start for you since it's frontend specific. For example, check out the doc page for the Dict data type and see if that kind of stuff is what you're looking for.
-
Learning functional oncepts - Which Language?
https://guide.elm-lang.org/ for a high level guide, and an unstyled button example https://elm-lang.org/examples/buttons.
- How can I learn to code with ADHD? Need help
-
Elm for React developers
I hope this tiny guide was helpful, and that you learned something new today. If you want to learn more about Elm, you should check out the official guide or say hello in the Elm Slack #beginners channel
-
The best language tutorials that you have seen?
https://guide.elm-lang.org/ is always a solid example for me
-
Why I decided to learn (and teach) Clojure
After going through the whole Introductory Guide to the Elm Language and reading the Elm in Action book, I already felt quite comfortable developing webapps in this paradigm. I liked Elm so much that I started a project to teach programming to beginners using this language and made the first classes available on the website elm.dev.br (in Brazilian Portuguese).
- Por que Elm é uma linguagem tão deliciosa?
What are some alternatives?
vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server
papers-we-love - Papers from the computer science community to read and discuss.
episode-code-samples - 💾 Point-Free episode code.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
electric - a reactive Clojure dialect for web development that uses a compiler to infer the frontend/backend boundary
Elm - Compiler for Elm, a functional language for reliable webapps.
squint - Light-weight ClojureScript dialect
Kalman-and-Bayesian-Filters-in-Python - Kalman Filter book using Jupyter Notebook. Focuses on building intuition and experience, not formal proofs. Includes Kalman filters,extended Kalman filters, unscented Kalman filters, particle filters, and more. All exercises include solutions.
proposal-command-syntax - Proposal: Command Syntax for JavaScript
flux - Application Architecture for Building User Interfaces
euphoria - The Euphoria programming language (https://openeuphoria.org/)
vite-plugin-elm - A plugin for Vite enables you to compile an Elm application/document/element