@hackage / jsaddle

Interface for JavaScript that works with GHCJS and GHC

Latest0.9.9.4

About

Metadata

  • Last updated , by HamishMackenzie
  • License MIT
  • Categories Web Development
  • Maintained by: Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.1
  3. 9.8.4
  4. 9.6.7
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2
  8. 8.10.7
  9. 8.8.4
  10. 8.6.5
  11. 8.4.4

Package Flags

Use the -f option with cabal commands to enable flags

    call-stacks (off by default)

    Include HasCallStack constraint on calls unchecked calls

    check-unchecked (off by default)

    Fail unchecked calls when they are called (rather than when the result is evaluated)

Readme

This package provides an EDSL for calling JavaScript that can be used both from GHCJS and GHC. When using GHC the application is run using Warp and WebSockets to drive a small JavaScript helper.