package.elm-lang.org
elm-format
Our great sponsors
package.elm-lang.org | elm-format | |
---|---|---|
13 | 5 | |
296 | 1,304 | |
0.3% | - | |
0.0 | 5.6 | |
about 1 year ago | 12 months 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.
package.elm-lang.org
- Por que Elm é uma linguagem tão deliciosa?
-
Ask HN: What Happened to Elm?
Also the fact that their package manager is strongly coupled against https://package.elm-lang.org/. There is no way to override it. This means that if that package site ever goes down, you will be left with an unbuildable project. Seems pretty risky to me.
-
How do yall share Elm codez within your organization?
Imagine, for example, you have a component library that you don't want to publish to the public package.elm-lang.org. How do you make that available just within your company?
-
Advice on porting a package to 0.19.1
Not to be silly but I was getting ready to do my port & all but clicking on "source" from with package.elm-lang.org takes me to elm-charts, not elm-plot.
-
Entering periods into Float fields is difficult, what's the better way to do it?
If you're dealing with some kind of currency it's better to use a Decimal type which has few packages on the ecosystem.
-
Why is Elm documentation so poor?
Anyways, between The Guide, Beginning Elm and the packages documentation, I think Elm is in a very good place documentation wise.
Aside from syntax, what you probably need is https://package.elm-lang.org. Default (built-in) functions can be found at elm/core, while other stuff relating to building web application can be found at elm/browser. Take a look at other elm/... packages too, they are written by authors of elm.
Can you explain what you are missing? The guide is not supposed to give you all the libraries/API - you can find that here: https://package.elm-lang.org/
If you are looking for a complete API documentation you should be browsing https://package.elm-lang.org/ ; I still find it lacking compared to other programming languages, but it's definitely more complete that the starting guide.
-
React to Elm Migration Guide
Elm is a strongly typed functional language, compiler, package manager, and framework. You write in the Elm language, and it compiles to JavaScript for use in the browser. The Elm compiler has 2 basic modes of development, and production. It optionally has a REPL if you want to test some basic code. The package manager uses it’s own website and structure using elm.json, instead of package.json. The framework is what Elm is most known for, and was the inspiration for Redux.
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:
What are some alternatives?
proposal-pattern-matching - Pattern matching syntax for ECMAScript
elm-review - Analyzes Elm projects, to help find mistakes before your users find them.
elm-ui - What if you never had to write CSS again?
hasqlator-mysql - Hasqlator is a haskell sql generator library
bytestring - An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.
Elm - Compiler for Elm, a functional language for reliable webapps.
elm-syntax - Library for generating Elm syntax from Haskell in a scope-safe way
elm-language-server - Language server implementation for Elm
haskell-mode - Emacs mode for Haskell
elm-websocket - Generate an Elm Subscriber and JSON encoders/decoders for a Wai WebSocket server
elm-architecture-tutorial - How to create modular Elm code that scales nicely with your app
elm-json - Install, upgrade and uninstall Elm dependencies