-
I observed that one fine moment the `clock` package stopped compiling with ghcjs emitting the following error:
```
System/Clock.hsc:44 directive let cannot be handled in cross-compilation mode
``…
-
I just noticed that when I specify `ghc-options` in a `.cabal` file for a ghcjs project, these options are passed to the `ghcjs --make` execution during the build.
But when I pass `cabal build --ghc-…
-
a ghcjs-specific version of `hsc2hs` should be implemented. cabal already searches for it. required features:
- generate code for both native and JS paths, using `__GHCJS__` macro
- use fixed/hardcode…
luite updated
10 years ago
-
Quite a few people are using GHCJS for their projects. It's an amazing and useful tool! I was curious, are there any blockers for releasing to hackage? If so, what are they?
I realize that making …
-
I didn't see any install instructions, but have come up with (I think) a minimal `stack.yaml` configuration:
```yaml
resolver: lts-7.19
compiler: ghcjs-0.2.1.9007019_ghc-8.0.1
compiler-check: ma…
-
GHCJS supports
``` haskell
foreign import javascript safe "foo($1, $c);"
foo :: A -> IO B
```
where `$c` stands for a continuation/callback function such that
``` haskell
do { b
ion1 updated
10 years ago
-
In the JS shell:
> nix develop github:input-output-hk/devx#ghc810-js-minimal-iog --no-write-lock-file --refresh
we have:
> env | grep NIX_CABAL_FLAGS
> NIX_CABAL_FLAGS=--with-ghc=javascript-unkn…
-
Full log: https://gist.github.com/ElvishJerricco/f318829d9cccb6f0ccaa4888dae8a7c5
Considering the actual and expected outputs appear identical, I'd wager this is a GHCJS bug, but I'm not sure. /cc …
-
Windows 10 with GHCJS installed as per the QuickStart instructions (https://github.com/ghcjs/ghcjs/blob/master/README.markdown#quick-start). Node v4.0.0
`cabal install ghcjs-dom --ghcjs` fails with "…
-
Hi @luite,
If `ghcjs-prim` requires Cabal >=1.22 to build, is there a reason the cabal file specifies `cabal-version: >=1.10`? I was having an issue installing GHCJS, and bumping this number to…