# Latest

**URL:** https://discourse.elm-lang.org/latest.md?page=4

[Latest](https://discourse.elm-lang.org/latest.md) · [Categories](https://discourse.elm-lang.org/categories.md)

**Page:** 5

---

## [How to use Elm on an air-gapped machine](https://discourse.elm-lang.org/t/how-to-use-elm-on-an-air-gapped-machine/10458)

<div class="topic-metadata">

**Author:** [@halloleo](https://discourse.elm-lang.org/u/halloleo)\
**Replies:** 4\
**Last updated:** [October 9, 2025, 7:44am UTC](https://discourse.elm-lang.org/t/how-to-use-elm-on-an-air-gapped-machine/10458 "2025-10-09T07:44:50Z")

</div>

I am starting out with Elm and wrote my first small web-app. Works great. Love the Haskell-ish feel to it :slight\_smile: At work I would like to develop small in-house web apps with Elm as well, however the machine I am…

---

## [State of Javascript 2025 survey is out](https://discourse.elm-lang.org/t/state-of-javascript-2025-survey-is-out/10457)

<div class="topic-metadata">

**Author:** [@dirkbj](https://discourse.elm-lang.org/u/dirkbj)\
**Replies:** 0\
**Last updated:** [October 6, 2025, 10:45pm UTC](https://discourse.elm-lang.org/t/state-of-javascript-2025-survey-is-out/10457 "2025-10-06T22:45:23Z")

</div>

Just letting everyone know the State of Javascript 2025 is out. :slight\_smile:

---

## [Best way to write intensely monadic code in Elm](https://discourse.elm-lang.org/t/best-way-to-write-intensely-monadic-code-in-elm/10434)

<div class="topic-metadata">

**Author:** [@rupert](https://discourse.elm-lang.org/u/rupert)\
**Replies:** 27\
**Last updated:** [October 1, 2025, 7:43am UTC](https://discourse.elm-lang.org/t/best-way-to-write-intensely-monadic-code-in-elm/10434 "2025-10-01T07:43:51Z")

</div>

What is the best way to write code that involves long chains of .map and .andThen with anonymous lambdas in Elm? Such code might arise when you are doing a lot of IO with tasks, or composing lots of functions that produc…

---

## [Converting type \<=\> Int for byte-based communication](https://discourse.elm-lang.org/t/converting-type-int-for-byte-based-communication/10452)

<div class="topic-metadata">

**Author:** [@HolsteinCow](https://discourse.elm-lang.org/u/HolsteinCow)\
**Replies:** 0\
**Last updated:** [September 30, 2025, 5:59am UTC](https://discourse.elm-lang.org/t/converting-type-int-for-byte-based-communication/10452 "2025-09-30T05:59:33Z")

</div>

Background: I have a project where I need to communicate with bytes (serial protocol, using ports) where I wanted to send and receive bytes to & from ports. I’m currently using List Int because it’s easy to send over th…

---

## [Frontend Mentor's Contact form challenge built with Elm](https://discourse.elm-lang.org/t/frontend-mentors-contact-form-challenge-built-with-elm/10451)

<div class="topic-metadata">

**Author:** [@dwayne](https://discourse.elm-lang.org/u/dwayne)\
**Replies:** 0\
**Last updated:** [September 29, 2025, 12:39pm UTC](https://discourse.elm-lang.org/t/frontend-mentors-contact-form-challenge-built-with-elm/10451 "2025-09-29T12:39:52Z")

</div>

I completed Frontend Mentor’s Contact form challenge while experimenting with: Astro as a frontend workshop environment Nushell for internal developer tooling Nix flakes for reusable Bash scripts Makefiles for build an…

---

## [Solving Elm Router "Double Update" Problem](https://discourse.elm-lang.org/t/solving-elm-router-double-update-problem/10436)

<div class="topic-metadata">

**Author:** [@rinn7e](https://discourse.elm-lang.org/u/rinn7e)\
**Replies:** 4\
**Last updated:** [September 24, 2025, 12:21am UTC](https://discourse.elm-lang.org/t/solving-elm-router-double-update-problem/10436 "2025-09-24T00:21:24Z")

</div>

I found some older discussions on this issue, but they did not really provide a clear answer: Understanding the “double update” behavior of Browser.application Routing when you are already there It turns out I discove…

---

## [Elm Town 87 – Wonder: From machine to mob learning with Sophie Collard](https://discourse.elm-lang.org/t/elm-town-87-wonder-from-machine-to-mob-learning-with-sophie-collard/10443)

<div class="topic-metadata">

**Author:** [@absynce](https://discourse.elm-lang.org/u/absynce)\
**Replies:** 0\
**Last updated:** [September 23, 2025, 10:30pm UTC](https://discourse.elm-lang.org/t/elm-town-87-wonder-from-machine-to-mob-learning-with-sophie-collard/10443 "2025-09-23T22:30:34Z")

</div>

From machine to mob, a learning environment— start-up, air, guitar. Elm Town 87 – Wonder: From machine to mob learning with Sophie Collard: Thanks to Sophie Collard for coming to Elm Town.

---

## [What is the best standard version of Elm to install](https://discourse.elm-lang.org/t/what-is-the-best-standard-version-of-elm-to-install/10441)

<div class="topic-metadata">

**Author:** [@halloleo](https://discourse.elm-lang.org/u/halloleo)\
**Replies:** 7\
**Last updated:** [September 23, 2025, 3:15pm UTC](https://discourse.elm-lang.org/t/what-is-the-best-standard-version-of-elm-to-install/10441 "2025-09-23T15:15:51Z")

</div>

I am starting with Elm. – Is version 0.19 from 2019(!) the one I should install? Thanks for pointers!

---

## [Patch release of elm/json 1.1.4](https://discourse.elm-lang.org/t/patch-release-of-elm-json-1-1-4/10440)

<div class="topic-metadata">

**Author:** [@novid](https://discourse.elm-lang.org/u/novid)\
**Replies:** 3\
**Last updated:** [September 20, 2025, 10:57am UTC](https://discourse.elm-lang.org/t/patch-release-of-elm-json-1-1-4/10440 "2025-09-20T10:57:59Z")

</div>

A new Patch release of elm/json package is available with updated kernel code for stricter validation. This release has no API changes and you can safely update your projects and libraries.

---

## [Elm SPA-style routing and web-components](https://discourse.elm-lang.org/t/elm-spa-style-routing-and-web-components/10432)

<div class="topic-metadata">

**Author:** [@bjorn](https://discourse.elm-lang.org/u/bjorn)\
**Replies:** 1\
**Last updated:** [September 8, 2025, 8:57pm UTC](https://discourse.elm-lang.org/t/elm-spa-style-routing-and-web-components/10432 "2025-09-08T20:57:52Z")

</div>

At the company I work at, we’re building with Elm and Elm-land. The toolkit that we use for building the UI consists mainly of pre-built and custom web-components. With Elm-land, we’re running into a problem where \<a\> e…

---

## [Is this an Accessibility thing? Copilot says yes, but is it?](https://discourse.elm-lang.org/t/is-this-an-accessibility-thing-copilot-says-yes-but-is-it/10429)

<div class="topic-metadata">

**Author:** [@paulh](https://discourse.elm-lang.org/u/paulh)\
**Replies:** 13\
**Last updated:** [September 6, 2025, 7:32am UTC](https://discourse.elm-lang.org/t/is-this-an-accessibility-thing-copilot-says-yes-but-is-it/10429 "2025-09-06T07:32:29Z")

</div>

Hi, I have an issue in an app when viewing it on a phone in landscape. The issue is that some of the text on the page is increased in size by the browser when an animation is activated on the page. I have discussed it w…

---

## [Elm Town 86 – Wonder: Linking notes for active growth with Joël Quenneville](https://discourse.elm-lang.org/t/elm-town-86-wonder-linking-notes-for-active-growth-with-joel-quenneville/10430)

<div class="topic-metadata">

**Author:** [@absynce](https://discourse.elm-lang.org/u/absynce)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 2:31pm UTC](https://discourse.elm-lang.org/t/elm-town-86-wonder-linking-notes-for-active-growth-with-joel-quenneville/10430 "2025-09-05T14:31:59Z")

</div>

Decode thoughts for growth; Connect and share; example— △ Joël’s Triangle Elm Town 86 – Wonder: Linking notes for active growth with Joël Quenneville: Thanks to @joelq for coming to Elm Town.

---

## [Small experiment with LLM and TDD](https://discourse.elm-lang.org/t/small-experiment-with-llm-and-tdd/10427)

<div class="topic-metadata">

**Author:** [@janjelinek](https://discourse.elm-lang.org/u/janjelinek)\
**Replies:** 2\
**Last updated:** [September 3, 2025, 3:17pm UTC](https://discourse.elm-lang.org/t/small-experiment-with-llm-and-tdd/10427 "2025-09-03T15:17:57Z")

</div>

Recently I had a small task involving seat label grouping logic. Since it was relatively clear and straightforward, I decided to use a TDD approach. When I was in the middle of writing test cases, I thought I’d try how w…

---

## [A (nearly complete) Radix UI package](https://discourse.elm-lang.org/t/a-nearly-complete-radix-ui-package/10421)

<div class="topic-metadata">

**Author:** [@wolfadex](https://discourse.elm-lang.org/u/wolfadex)\
**Replies:** 1\
**Last updated:** [September 3, 2025, 2:44am UTC](https://discourse.elm-lang.org/t/a-nearly-complete-radix-ui-package/10421 "2025-09-03T02:44:09Z")

</div>

Over a year ago now I started on porting Radix UI to an Elm package. Making a few upgrades here and there like using native modals and the Popover API for toolips. I didn’t complete the work as I somewhat lost interest, …

---

## [When can msg be sent to elm through port?](https://discourse.elm-lang.org/t/when-can-msg-be-sent-to-elm-through-port/10428)

<div class="topic-metadata">

**Author:** [@PPz](https://discourse.elm-lang.org/u/PPz)\
**Replies:** 7\
**Last updated:** [September 2, 2025, 4:27pm UTC](https://discourse.elm-lang.org/t/when-can-msg-be-sent-to-elm-through-port/10428 "2025-09-02T16:27:32Z")

</div>

const app = Elm.Main.init({ node: document.getElementById('app') }) app.ports.messageReceiver.send('some msg') We can’t send msg to elm immediately after initialization, right? So, when can? Any help(some words, a …

---

## [How to debug elm app with ports? (elm reactor)](https://discourse.elm-lang.org/t/how-to-debug-elm-app-with-ports-elm-reactor/10426)

<div class="topic-metadata">

**Author:** [@PPz](https://discourse.elm-lang.org/u/PPz)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 8:14am UTC](https://discourse.elm-lang.org/t/how-to-debug-elm-app-with-ports-elm-reactor/10426 "2025-09-01T08:14:26Z")

</div>

Sorry, I’m new to elm. This might be a stupid question. I know I can use elm reactor when writing elm app. But ports is in JavaScript code. The following are the details: I have a speech synthesizing service in JS. T…

---

## [Guida Compiler - Was "There are 3 Elm compilers written in Elm"](https://discourse.elm-lang.org/t/guida-compiler-was-there-are-3-elm-compilers-written-in-elm/10329)

<div class="topic-metadata">

**Author:** [@rupert](https://discourse.elm-lang.org/u/rupert)\
**Replies:** 37\
**Last updated:** [August 29, 2025, 4:42pm UTC](https://discourse.elm-lang.org/t/guida-compiler-was-there-are-3-elm-compilers-written-in-elm/10329 "2025-08-29T16:42:22Z")

</div>

These 3 all seem to be completely independant efforts to rewrite the Elm compiler in Elm: Just wondering if anyone has tried them out and any thoughts on stability, speed, compatability, future directions? For my…

---

## [Proposal: \`if\` without \`else\` in List literals](https://discourse.elm-lang.org/t/proposal-if-without-else-in-list-literals/10404)

<div class="topic-metadata">

**Author:** [@adamyakes](https://discourse.elm-lang.org/u/adamyakes)\
**Replies:** 5\
**Last updated:** [August 26, 2025, 7:49am UTC](https://discourse.elm-lang.org/t/proposal-if-without-else-in-list-literals/10404 "2025-08-26T07:49:08Z")

</div>

In Elm, lists are special. They’re the only collection for which there’s a literal. A common need is to only sometimes include something in a collection. We’re forced to include dummy elements like text ““ inside an else.…

---

## [A different API design for elm web that removes the need for \`Msg\` and \`update\`](https://discourse.elm-lang.org/t/a-different-api-design-for-elm-web-that-removes-the-need-for-msg-and-update/10400)

<div class="topic-metadata">

**Author:** [@godalming123](https://discourse.elm-lang.org/u/godalming123)\
**Replies:** 12\
**Last updated:** [August 19, 2025, 8:11am UTC](https://discourse.elm-lang.org/t/a-different-api-design-for-elm-web-that-removes-the-need-for-msg-and-update/10400 "2025-08-19T08:11:29Z")

</div>

Here’s how a counter would be implemented using this approach as a proof of concept: module Main exposing (..) import Browser import Html exposing (Html, button, div, text) import Html.Events exposing (onClick) -- M…

---

## [How to detect focus and blur](https://discourse.elm-lang.org/t/how-to-detect-focus-and-blur/10397)

<div class="topic-metadata">

**Author:** [@AlanQ](https://discourse.elm-lang.org/u/AlanQ)\
**Replies:** 5\
**Last updated:** [August 19, 2025, 7:39am UTC](https://discourse.elm-lang.org/t/how-to-detect-focus-and-blur/10397 "2025-08-19T07:39:28Z")

</div>

elm-ui has Browser.Events.onFocus and Browser.Events.onLoseFocus Html has Html.Events.onFocus and Html.Events.onBlur I can’t get either to work. I’m using elm-ui… type FocusOrBlur = Focus | Blur layout \[…

---

## [Announcing elm-field](https://discourse.elm-lang.org/t/announcing-elm-field/10401)

<div class="topic-metadata">

**Author:** [@dwayne](https://discourse.elm-lang.org/u/dwayne)\
**Replies:** 0\
**Last updated:** [August 18, 2025, 1:04pm UTC](https://discourse.elm-lang.org/t/announcing-elm-field/10401 "2025-08-18T13:04:53Z")

</div>

Hello everyone, I am very excited to announce elm-field. I have written an announcement post on my blog. If you’re interested in improving your forms, then I invite you to read the post and use the library.

---

## [How to detect when the user navigates away from the app window?](https://discourse.elm-lang.org/t/how-to-detect-when-the-user-navigates-away-from-the-app-window/10398)

<div class="topic-metadata">

**Author:** [@AlanQ](https://discourse.elm-lang.org/u/AlanQ)\
**Replies:** 2\
**Last updated:** [August 17, 2025, 3:11pm UTC](https://discourse.elm-lang.org/t/how-to-detect-when-the-user-navigates-away-from-the-app-window/10398 "2025-08-17T15:11:49Z")

</div>

Typically, when I’m editing something in a native app — such as an email — and I navigate away from the app to another app, or to the main screen, I get a notification that says “Saved”. I need to do something similar i…

---

## [What's the point of Process.spawn?](https://discourse.elm-lang.org/t/whats-the-point-of-process-spawn/10395)

<div class="topic-metadata">

**Author:** [@adamyakes](https://discourse.elm-lang.org/u/adamyakes)\
**Replies:** 3\
**Last updated:** [August 14, 2025, 6:45pm UTC](https://discourse.elm-lang.org/t/whats-the-point-of-process-spawn/10395 "2025-08-14T18:45:11Z")

</div>

I know the docs for Process state explicitly that it’s an early concept and will likely evolve. Specifically, processes cannot receive messages. However, it also seems they cannot send messages (well, more than once). I …

---

## [What’s the Best Way to Add Charts to My Elm App?](https://discourse.elm-lang.org/t/what-s-the-best-way-to-add-charts-to-my-elm-app/10394)

<div class="topic-metadata">

**Author:** [@fopodon](https://discourse.elm-lang.org/u/fopodon)\
**Replies:** 3\
**Last updated:** [August 13, 2025, 10:59pm UTC](https://discourse.elm-lang.org/t/what-s-the-best-way-to-add-charts-to-my-elm-app/10394 "2025-08-13T22:59:49Z")

</div>

Hello I am new to Elm and working on a small app where I’d like to display some charts like line graphs / bar charts to visualize data. :innocent: I am curious what packages or tools Elm users recommend for adding visua…

---

## [Has anyone integrated an Elm element into Angular?](https://discourse.elm-lang.org/t/has-anyone-integrated-an-elm-element-into-angular/10386)

<div class="topic-metadata">

**Author:** [@adamyakes](https://discourse.elm-lang.org/u/adamyakes)\
**Replies:** 4\
**Last updated:** [August 13, 2025, 8:21pm UTC](https://discourse.elm-lang.org/t/has-anyone-integrated-an-elm-element-into-angular/10386 "2025-08-13T20:21:12Z")

</div>

Angular lets you access the native DOM of a component. You can use this to “embed” a Browser.element into an application. What I’m struggling to wrap my head around is how this works with Angular’s change detection. Let…

---

## [Noob question: Models getting wiped in between pushUrl calls](https://discourse.elm-lang.org/t/noob-question-models-getting-wiped-in-between-pushurl-calls/10392)

<div class="topic-metadata">

**Author:** [@Phillip\_Davis](https://discourse.elm-lang.org/u/Phillip_Davis)\
**Replies:** 2\
**Last updated:** [August 13, 2025, 12:14pm UTC](https://discourse.elm-lang.org/t/noob-question-models-getting-wiped-in-between-pushurl-calls/10392 "2025-08-13T12:14:15Z")

</div>

What the title says, I’m writing an SPA with Browser.application (basically just the frontend rn, don’t judge me lol). I have buttons like this: button \[ onClick SubmitInfo \] \[ text "Submit" \] where SubmitInfo is a Msg …

---

## [Elm programs that don't die](https://discourse.elm-lang.org/t/elm-programs-that-dont-die/10377)

<div class="topic-metadata">

**Author:** [@Confidenceman02](https://discourse.elm-lang.org/u/Confidenceman02)\
**Replies:** 2\
**Last updated:** [August 10, 2025, 3:27pm UTC](https://discourse.elm-lang.org/t/elm-programs-that-dont-die/10377 "2025-08-10T15:27:13Z")

</div>

There are times when you want to kill an Elm program good and proper. A reason for this is that Elm programs don’t always clean themselves up how you would expect. Especially if you are using Elm in a fairly custom way l…

---

## [Using 2 case under an else](https://discourse.elm-lang.org/t/using-2-case-under-an-else/10374)

<div class="topic-metadata">

**Author:** [@LusiElm](https://discourse.elm-lang.org/u/LusiElm)\
**Replies:** 14\
**Last updated:** [August 7, 2025, 3:26pm UTC](https://discourse.elm-lang.org/t/using-2-case-under-an-else/10374 "2025-08-07T15:26:32Z")

</div>

I am a bit confused as to how to get multiple checks under an else. I freely admit I am a total newbie with Elm and am more used to Python etc. I have the following construct If Else Case Nothing -\> Just -\> And t…

---

## [The intellij-elm plugin has a new home!](https://discourse.elm-lang.org/t/the-intellij-elm-plugin-has-a-new-home/10375)

<div class="topic-metadata">

**Author:** [@lydell](https://discourse.elm-lang.org/u/lydell)\
**Replies:** 0\
**Last updated:** [August 6, 2025, 4:41pm UTC](https://discourse.elm-lang.org/t/the-intellij-elm-plugin-has-a-new-home/10375 "2025-08-06T16:41:57Z")

</div>

:mega: The intellij-elm plugin now has a new home, under the elm-tooling organization! :tada: GitHub: GitHub - elm-tooling/intellij-elm: Elm plugin for IntelliJ Platform IDEs JetBrains Marketplace: https://plugins.jetb…

---

## [Unknown package error related to TLS issue](https://discourse.elm-lang.org/t/unknown-package-error-related-to-tls-issue/10372)

<div class="topic-metadata">

**Author:** [@dwayne](https://discourse.elm-lang.org/u/dwayne)\
**Replies:** 0\
**Last updated:** [August 6, 2025, 11:18am UTC](https://discourse.elm-lang.org/t/unknown-package-error-related-to-tls-issue/10372 "2025-08-06T11:18:24Z")

</div>

I recently released a package and tried using it in an old project. After trying to elm install the package I got the following error: -- UNKNOWN PACKAGE ------------------------------------------------------------- I …

[Previous page](https://discourse.elm-lang.org/latest.md?page=3)

[Next page](https://discourse.elm-lang.org/latest.md?page=5)
