You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Marcin, first of all thanks for this great example to run Spock with GHCJS0.7.10.x and 8.0.x Also big kudos for your work of patching GHCJS in regular basis to build it with Stack!
May I ask you what Editor do you use to write spock-ghcjs-sample? I'm an Emacs user, but not able to run GHCJS properly with Emacs (Prelude + haskell-mode). I tried almost everything to have Error handling, autocompletion etc. w/ GHCJS but without any success. Any other Haskell project without GHCJS runs fine with Emacs, so the hard stuff seems to be GHJS.
Any hint?
Thanks!
-Jens
The text was updated successfully, but these errors were encountered:
;) Thanks, this is a proof of concept, ideally "stack" people should do the patches/store builds... but as with the chicken and egg... the cycle needs to start somewhere...
The editor integration usually use ghc-mod. But it does not recognise GHCJS my guess until the interactive mode is not working it will be hard.
I would suggest going reddit and asking the lot. This crowd will give more insight.
If I had to fix it I would try to create ghcjs and ghcjs-base packages for ghc; not clones but stubs i.e. just type signature and undefined as body... and then if we force ghc see if the editor work. Maybe it is easy to extract?
Thus the workflow would be edit as ghc and --watch compile as ghcjs
Marcin, first of all thanks for this great example to run
Spock
withGHCJS
0.7.10.x
and8.0.x
Also big kudos for your work of patchingGHCJS
in regular basis to build it withStack
!May I ask you what Editor do you use to write
spock-ghcjs-sample
? I'm an Emacs user, but not able to runGHCJS
properly with Emacs (Prelude
+haskell-mode
). I tried almost everything to have Error handling, autocompletion etc. w/GHCJS
but without any success. Any other Haskell project withoutGHCJS
runs fine with Emacs, so the hard stuff seems to beGHJS
.Any hint?
Thanks!
-Jens
The text was updated successfully, but these errors were encountered: