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

Module documentation for 2.1.0.0

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.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.