ghcjs-base-stub: Allow GHCJS projects to compile under GHC and develop using intero.

[ bsd3, library, web ] [ Propose Tags ]

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

[Skip to Readme]
Versions [RSS] [faq],,,,,,, (info)
Dependencies aeson (>=0.11), attoparsec (>=0.13), base (>=4.7 && <5), containers (==0.5.*), deepseq (>=1.4), ghc-prim, primitive (>=0.6), scientific (>=0.3.4), text (>=1.2), transformers (>=0.5), unordered-containers (>=0.2.7), vector (>=0.11) [details]
License BSD-3-Clause
Copyright 2017 Louis Pan
Author Louis Pan
Revised Revision 1 made by louispan at 2018-07-02T11:51:44Z
Category Web
Home page
Source repo head: git clone
Uploaded by louispan at 2018-06-04T17:14:06Z
Distributions NixOS:, Stackage:
Downloads 4488 total (29 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-06-04 [all 1 reports]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ghcjs-base-stub-

[back to package description]

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.


Add the following to GHCJS project's cabal.

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



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

    • Added Javascript.Web.Location

    • Added Javascript.Web.Storage

    • Added JavaScript.Cast
    • Added Marshall and Callbacks

    • Initial version with a subset of ghcjs base