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

``` $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.10.3 $ hastec --version 0.5.3 $ ghc-pkg list /usr/local/lib/ghc-7.10.3/package.conf.d Cabal-1.22.5.0 array-0.5.1.0 base-4.8.2.0 bin-package-db-0.0.0.0 binary-0.7.5.0 bytestring-0.10.6.0 containers-0.5.6.2 deepseq-1.4.1.1 directory-1.2.2.0 filepath-1.4.0.0...

The package `hashable` is unbuildable since it depends on the internal workings of `integer-gmp:Integer`. Three possible solutions: get a tiny patch accepted into `hashable`, distribute our own patched version, or...

``` $ haste-pkg check 2>&1 | grep -v Warning There are problems in package haste-lib-0.5.2: package has duplicate dependencies: array-0.5.1.0 base-4.8.0.0 bytestring-0.10.6.0 containers-0.5.6.3 ghc-prim-0.4.0.0 haste-prim-0.5.2 integer-gmp-0.5.0.0 monads-tf-0.1.0.2 time-1.5.0.1 transformers-0.4.3.0 package...

I'm following these instructions (edit: found here -> http://haste-lang.org/downloads/): ``` $ cabal update $ cabal install haste-compiler $ haste-boot ``` I am using ghc-7.10.2, cabal-install version 1.22.6.0 , Cabal version...

``` import Data.Char import Haste main = alert $ show $ isSeparator 'a' ``` This program gives "uncaught exception: u_gencat is only supported with --full-unicode" in the JavaScript console. I...

I build with *.cabal file by > haste-cabal install It works but it also generates javascript files and put them in sources directory. I hope it keep sources directory clean...

Currently, all calculations over `Int`s and other machine types are always performed `|0`. For any expression where the end result will never exceed 2^52, this is unnecessary and could be...

UPDATED ByteArray allocation seems to be broken in haste-compiler 0.4.4.4 in cabal this code, compiled to js, returns an error in browser: `ns

``` haskell module Main where main = print "\NULvadsomhelst" ``` GHC says: `"\NULvadsomhelst"` Node.js + Haste says: `"\65533\65533vadsomhelst"` The escape code `\65533` is the _Unicode Character 'REPLACEMENT CHARACTER' (U+FFFD)_. This...

I get the error: `Uncaught Unsupported PrimOp: indexCharOffAddr#` in chrome's console. Any time I try to use Data.Text in any compiled to javascript code like: ``` module Main where {-#...