haste-compiler icon indicating copy to clipboard operation
haste-compiler copied to clipboard

A GHC-based Haskell to JavaScript compiler

Results 63 haste-compiler issues
Sort by recently updated
recently updated
newest added

`cabal install haste-compiler` fails in Haskell 8.10.7 (in ghcup) with the error: ``` [ 7 of 25] Compiling Data.JSTarget.PP ( src/Data/JSTarget/PP.hs, dist/build/hastec/hastec-tmp/Data/JSTarget/PP.o ) src/Data/JSTarget/PP.hs:188:10: error: Duplicate instance declarations: instance IsString...

Is this project dead? It seems to require very (4 year) old versions of dependencies and ghc itself - and refuses current versions - which isn't the way to go...

Dockerfile ``` FROM haskell:8.10.1-buster RUN apt-get update && apt-get install -y libghc-bzlib-dev RUN cabal update RUN cabal install haste-compile ``` docker build -t fail . Results in ===> Failed to...

Fresh install of haskell platform 8.2.2 error on "cabal install haste-compiler" after dependencies install... ``` Downloading haste-compiler-0.4.4.4... Configuring haste-compiler-0.4.4.4... Failed to install haste-compiler-0.4.4.4 Build log ( /Users/user/.cabal/logs/ghc-8.2.2/haste-compiler-0.4.4.4-Hb8vrn7aglx1rspaaMV9Pf.log ): cabal: Entering...

I've tried every solution I can find on stackoverflow and elsewhere, and reproduced every installation failure I've seen. In my latest attempts, I'm getting warnings about legacy vs. new-style cabal...

Using Rational (equals Ratio Integer) in a haste program results in wrong values if the nominator exceeds 2^32-1. The denominator on the other hand seems to work as expected. Minimal...

Looks like some changes made from String to JSStr broke at least this example. I was just exploring haste / client side javascript generation from Haskell, and encountered this. I've...

https://gist.github.com/JoelSjogren/422a12ec5029f15caa1d31c8247f95fb

There is a dependency version problem building latest haste (0.6.0) using stack (on Ubuntu 16.04). Adding: allow-newer: true to stack.yaml => it builds OK.