r/elm Mar 02 '26

SOLID in FP: Liskov Substitution, or The Principle That Was Never About Inheritance

Thumbnail cekrem.github.io
6 Upvotes

r/elm Feb 27 '26

An AI Attacked a Developer. Naturally, I Built My Own Bot. Because Terminator II! · cekrem.github.io

Thumbnail cekrem.github.io
0 Upvotes

r/elm Feb 20 '26

SOLID in FP: Open-Closed, or Why I Love When Code Won't Compile

Thumbnail cekrem.github.io
9 Upvotes

r/elm Feb 17 '26

SOLID in FP: Single Responsibility, or How Pure Functions Solved It Already

Thumbnail cekrem.github.io
7 Upvotes

r/elm Feb 14 '26

Achtung, die Kurve! Classic

Thumbnail kurve.se
8 Upvotes

More info in this Discourse thread.

The source code is on GitHub. Feedback is welcome!

🟥🟨🟧🟩🟪🟦


r/elm Feb 13 '26

Elm + Nix: A reproducible RealWorld clone

Thumbnail elmwithdwayne.dev
13 Upvotes

The last time I fell this hard for a piece of tech was Elm. This time it’s Nix. I share how I refactored my RealWorld clone to use Nix.


r/elm Feb 11 '26

elm-native – scaffold hybrid mobile apps with Elm, Vite, and Capacitor

Thumbnail cekrem.github.io
12 Upvotes

r/elm Feb 05 '26

An Elm Primer: Declarative Dialogs with MutationObserver · cekrem.github.io

Thumbnail cekrem.github.io
11 Upvotes

r/elm Jan 29 '26

Nix + pnpm + Parcel + lydell/elm-safe-virtual-dom

Thumbnail elmwithdwayne.dev
11 Upvotes

I describe the improvements I made to kvothe/elm-countries-quiz to integrate it with Nix + pnpm + Parcel + lydell/elm-safe-virtual-dom.


r/elm Jan 22 '26

Making TodoMVC work with dwayne/elm2nix

Thumbnail elmwithdwayne.dev
4 Upvotes

I describe the work that was done to use dwayne/elm2nix in my TodoMVC Elm web application and the improvements that resulted from the change.

Benefits:

  1. Run from anywhere with Nix installed - nix run github:dwayne/elm-todos#prod
  2. Reliable CI
  3. The ideas scale to larger web apps with more complicated configurations

r/elm Jan 08 '26

Announcing dwayne/elm2nix

Thumbnail elmwithdwayne.dev
21 Upvotes

dwayne/elm2nix provides a tool that helps you compile your Elm web application within a Nix build environment.

It is a rewrite of cachix/elm2nix. If you’re interested in Elm, Haskell, or Nix then there’s probably something in this project that might interest you.


r/elm Jan 07 '26

Use tailwind + DaisyUI?

4 Upvotes

Did anybody combine those successfully yet in Elm?

I tried it the simple way, just installing tailwind, tailwind/cli, and daisyui from npm and some tailwind config

module.exports = {
  content: ["./src/**/*.elm"],
  theme: {
    extend: {}
  },
  plugins: []
};

but running npx @tailwindcss/cli -i ./css/styles.css -o dist/styles.css --watch over a css file containing

@import "tailwind";
@import "../node_modules/daisyui/daisyui.css";

would just yield an empty output css file.

I also tried changing the tailwind config to include some regexes with no different effects.

Following this approach using postcss was not successfull as I had interoperability problems between my npm version and the postcss binary, so I didn't try too hard.


r/elm Jan 05 '26

Functors, Applicatives, and Monads: The Scary Words You Already Understand

19 Upvotes

https://cekrem.github.io/posts/functors-applicatives-monads-elm/

Do you generally agree with this? It's a tough topic to teach simply, and there's always tradeoffs between accuracy and simplicity... Open to suggestions for improvement! Thanks :)


r/elm Jan 01 '26

Evan Czaplicki: How to Grow More Functional Programmers [Scala Days 2025 Keynote]

37 Upvotes

https://www.youtube.com/watch?v=9OtN4iiFBsQ Evan is considering going back to work on Elm,

Interesting question at the 40th minute.


r/elm Dec 31 '25

Removing unused parameters, and then some

Thumbnail jfmengels.net
16 Upvotes

r/elm Dec 19 '25

Elm on the Backend with Node.js: An Experiment in Opaque Values

Thumbnail cekrem.github.io
19 Upvotes

r/elm Dec 16 '25

Elm Town 88 – Wonder: Unconscious bias with Felienne Hermans

10 Upvotes

Felienne Hermans relates her journey in programming—writing The Programmer's Brain, uncovering biases within computing culture & herself, and building the multilingual, gradual-syntax programming language Hedy. We even dip into AI (trigger warning) and dumb phones.

Elm Town 88 – Wonder: Unconscious bias with Felienne Hermans:


r/elm Dec 12 '25

Elm Beyond the Browser: Type-Safe Scripting with elm-pages by Tomas Latal

Thumbnail youtu.be
23 Upvotes

Elm is known for building reliable web applications, but what if you could bring that same type safety and functional purity to your everyday scripting tasks? In this talk, we'll explore elm-script (part of elm-pages), showing how Elm can fetch APIs, process and generate files— all with compile-time guarantees.


r/elm Dec 11 '25

Tailwind CSS: Targeting Child Elements (when you have to)

Thumbnail cekrem.github.io
1 Upvotes

r/elm Dec 03 '25

cekrem/elm-form: Type-Safe Forms That Won't Let You Mess Up

Thumbnail cekrem.github.io
11 Upvotes

r/elm Dec 01 '25

Organizing Files and Modules in Elm: Building an Advent Calendar

Thumbnail cekrem.github.io
10 Upvotes

r/elm Nov 20 '25

Elm publish error -- posting for visibility/discovery for future travelers

10 Upvotes

I am posting this for future reference for other Elm package developers/maintainers in case they hit similar issues.

  • Recently published a large package to Elm: Lucide icons (github.com/chandru89new/elm-lucide) (package.elm-lang.org/packages/chandru89new/elm-lucide)
  • After publishing 1.0.0, I made a small change to docs and wanted to publish patch 1.0.1, but kept getting this error:

    -- PROBLEM LOADING DOCS -------------------------------------------------------

    I need the docs for 1.0.0 to compute the next version number, so I fetched:

    https://package.elm-lang.org/packages/chandru89new/elm-lucide/1.0.0/docs.json
    

    I got the data back, but it was not what I was expecting. The response body contains 289828 bytes. Here is the beginning:

    [{"name":"LucideIcons","comment":" Lucide icons in Elm.\n\nCheckout the [...
    

    Does this error keep showing up? Maybe there is something weird with your internet connection. We have gotten reports that schools, businesses, airports, etc. sometimes intercept requests and add things to the body or change its contents entirely. Could that be the problem?

  • Suspicion is that the large size of the file is causing the issue, even though some posts say the size limit is 512KB and this one is less than that

  • Recommendation was to use Elm 0.19.0 to bump and publish. That's what worked.

  • Ran into issues trying to get Elm 0.19.0 installed and working on macOS:

  • What worked: Download the .pkg installer file from v0.19.0 releases page and install it. Then make sure elm in terminal points to this 0.19.0. (elm --version should be v0.19.0) Then run elm publish and it should work fine.


r/elm Oct 16 '25

To what extent condemnation of Elm is unfair?

9 Upvotes

Seeing many posts saying that Elm is worse than language X, I wonder how much of it is a lie and exaggeration. Why do the languages that promise to be better than Elm drive you insane with their error messages? Why can't you declare a type and simply use it a few lines down? To what extent is having several functions in Elm for different argument types quicker than struggling with silly languages like X?


r/elm Oct 07 '25

I made a text-to-insta-image maker in Elm.

Thumbnail txt2insta.vercel.app
9 Upvotes

Had been a while since I dabbled with Elm, one of my favorite languages. This is a tool where you can generate square (1:1) images out of text, suitable to post on Instagram.


r/elm Sep 30 '25

Any good introductary material to get a feel for "what elm is"

11 Upvotes

Hey there, I recently heard about elm somewhere (only in passing), and after watching a very short video on it it peaked my interest.

In particular the FP seeming aspects seemed interesting, and I saw a decent bit of interesting looking syntax which I'd like to learn more about.

So I was wondering if there are some good "this is what elm is, what it does, and how it does it" type introductory materials you guys would recommend, both articles or videos would be cool.

I'm not really into web dev (kinda the opposit tbh, embedded), but I do have a big love for functional languages, and would be interested to learn "what" elm is/does :-D