MIT licensed by Rick Owens
Maintained by [email protected]
This version can be pinned in stack with:om-elm-2.1.0.1@sha256:abfd5ce55ca8f00990031269cc6f04ddc43a69cd588792d6d48ba9277e722062,2020

Module documentation for 2.1.0.1

om-elm

This package provides utilities for serving Elm programs directly from your Haskell binary. It uses TemplateHaskell to compile your Elm program at build time, and construct a WAI Middleware which intercepts requests appropriate to the Elm program, and passing other requests to a downstream WAI Application. It is useful for bundling the browser side of a web application with its backing web services implementation.

Changes

Changelog

2.1.0.1 — 2026-08-13

  • Use a unique temporary Elm build directory per compilation so concurrent Elm builds no longer race on a shared .om-elm-build-dir. The directory is removed after the build finishes.

2.1.0.0 — 2026-07-07

  • Added System.Elm.Compile with compileElm for embedding compiled Elm JavaScript or HTML in your Haskell program at build time.
  • Removed the deprecated elmSite function; use elmSiteDev instead.