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

Version on this page:
LTS Haskell 12.26:[email protected]:1
Stackage Nightly 2018-09-28:[email protected]:1
Latest on Hackage:

See all snapshots ghcjs-base-stub appears in

BSD-3-Clause licensed by Louis Pan
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:6755e56e66e8d9091a3c05f6bef7fbad280a95ba1a7e5d002445de2adb1c63ae,2489

There are no documented modules for this package.


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