om-elm

Haskell utilities for building embedded Elm programs.

https://github.com/owensmurray/om-elm

Version on this page:1.0.0.3
LTS Haskell 22.14:2.0.0.6
Stackage Nightly 2024-03-28:2.0.0.6
Latest on Hackage:2.0.0.6

See all snapshots om-elm appears in

MIT licensed by Rick Owens
Maintained by [email protected]
This version can be pinned in stack with:om-elm-1.0.0.3@sha256:27d08669ae09f0800128a745cd810b04a09bdddc17bfd6ad6cdd10296c0ac483,1890

Module documentation for 1.0.0.3

  • System
    • System.Elm
      • System.Elm.Middleware

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.