elm-format
elm-architecture-tutorial
Our great sponsors
elm-format | elm-architecture-tutorial | |
---|---|---|
5 | 38 | |
1,304 | 4,157 | |
- | - | |
5.6 | 0.0 | |
12 months ago | about 4 years ago | |
Haskell | Elm | |
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-format
-
Elm 2021, a year in review
9ᵗʰ - Aaron VonderHaar releases a new version of elm-format.
-
Setting up an Elm project in 2022
Unlike Javascript, Elm has an official Style Guide for how Elm code should be structured. In addition, some formatting is built into the language itself, such as requiring indents of four spaces. This removes a major point of contention within teams. In addition, the community has put together a wonderful tool called elm-format. Similar to Prettier, this utility can be used to ensure that all Elm code matches the official style guide. Unlike Prettier, there is no custom configuration, meaning once again that your team can focus on writing code instead of what kind of quotes to use.
-
Tips/Resources on starting with ELM
Regarding user experience and tooling, I'd suggest you use an editor that is compatible with the elm language server: https://github.com/elm-tooling/elm-language-server VSCode is a good default choice. You'll also be interested in other toolings. elm-json (https://github.com/zwilias/elm-json) is great to simply install and uninstall dependencies. elm-format (https://github.com/avh4/elm-format) is a must since most active people in the community use it, and simply viewing your code being moved around on save is a good sign that you wrote something with a good syntax.
-
Artyom's Haskell toolbox — a long list of tools/libraries I use
Take for example the debate about 2 vs 4 spaces. People often (but not always) have very strong opinions about this, yet it is clear that this formatting choice will probably not be the dominant factor in the success of a project. A quick google search also reveals no scientific research in this field. Concerning surveys, I found this interesting (from a survey on 2 vs 4 spaces in elm-format) as one datapoint:
elm-architecture-tutorial
-
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.
-
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.
-
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?
- Statically-typed functional programming, Elm, Conway's Game of Life, and Emergence
-
Learn functional programming with Advent of Code! ☃️
The Elm guide
-
No side effects/change state.
I'd be happy to jump on a discord call to see if we can't get a fun hello world going locally. There's a live one here you can check out that just renders 'hello world', and they've got a great guide (sorta like the Rust Book).
-
Which functional programming language should I learn?
If you know Web development already, Elm might be the easiest approach. The Elm guide will have you work on functional snippets of code very quickly. The syntax is almost the same as Haskell, it's also pure, it just comes with far less bells and whistles as far as advanced features go. But you'll be able to have a real working web app in no time and the Elm architecture will basically force you to make it functional (whereas you can bend Haskell to program something imperative, with mutable state all over the place, etc…). Elm also has some of the most helpful compiler error messages and a time-traveling debugger, both great features when you're learning. (well, the time-traveling debugger is a great feature, period)
What are some alternatives?
papers-we-love - Papers from the computer science community to read and discuss.
Elm - Compiler for Elm, a functional language for reliable webapps.
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.
flux - Application Architecture for Building User Interfaces
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
elm-review - Analyzes Elm projects, to help find mistakes before your users find them.
vite-plugin-elm - A plugin for Vite enables you to compile an Elm application/document/element
accesskit - UI accessibility infrastructure across platforms and programming languages
elm-ui - What if you never had to write CSS again?
hasqlator-mysql - Hasqlator is a haskell sql generator library
Scala school - Lessons in the Fundamentals of Scala
clojure-style-guide - A community coding style guide for the Clojure programming language