ghcjs-base-stub

Allow GHCJS projects to compile under GHC and develop using intero.

https://github.com/louispan/javascript-stub#readme

Version on this page:0.2.0.0@rev:1
LTS Haskell 12.26:0.2.0.0@rev:1
Stackage Nightly 2022-02-07:0.3.0.2
Latest on Hackage:0.3.0.2

See all snapshots ghcjs-base-stub appears in

BSD-3-Clause licensed by Louis Pan
Maintained by [email protected]
This version can be pinned in stack with:ghcjs-base-stub-0.2.0.0@sha256:97df852868a0d2af3afebf86b62ae906626e95287521ad781a0d890d3d7f7543,2700

Module documentation for 0.2.0.0

There are no documented modules for this package.

Hackage Build Status

Fake stubs for GHCJS base to allow GHCJS projects to be compiled using GHC. This also allows developing under intero, and generating haddocks.

Usage:

Add the following to GHCJS project’s cabal.

  if impl(ghcjs)
    build-depends: ghcjs-base
  if !impl(ghcjs)
    build-depends: ghcjs-base-stub

Changelog

  • 0.2.0.0

    • Added Semigroup instance to JSString for ghc 8.4.1 and base 4.11.0
  • 0.1.0.4

    • Added Javascript.Web.Location
  • 0.1.0.3

    • Added Javascript.Web.Storage
  • 0.1.0.2

    • Added JavaScript.Cast
    • Added Marshall and Callbacks
  • 0.1.0.0

    • Initial version with a subset of ghcjs base