about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-07-26 09:35:35 +0200
committerPeter Simons <simons@cryp.to>2017-07-26 10:20:30 +0200
commit28c01703f051e7162773062e5a4b31287c39c836 (patch)
treed6b7df83861a20c59348a835cf48514404032902 /doc
parenta9111840faafdfacc946298efe3b9558f42d4688 (diff)
haskell: remove all code related to the "haste" compiler
These packages have been broken for a while and now they don't even evaluate
any more.
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/haskell.md27
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/languages-frameworks/haskell.md b/doc/languages-frameworks/haskell.md
index ce2889f744f3d..68894994392b8 100644
--- a/doc/languages-frameworks/haskell.md
+++ b/doc/languages-frameworks/haskell.md
@@ -698,33 +698,6 @@ rm /nix/var/nix/manifests/*
 rm /nix/var/nix/channel-cache/*
 ```
 
-### How to use the Haste Haskell-to-Javascript transpiler
-
-Open a shell with `haste-compiler` and `haste-cabal-install` (you don't actually need
-`node`, but it can be useful to test stuff):
-```shell
-nix-shell \
-  -p "haskellPackages.ghcWithPackages (self: with self; [haste-cabal-install haste-compiler])" \
-  -p nodejs
-```
-You may not need the following step but if `haste-boot` fails to compile all the
-packages it needs, this might do the trick
-```shell
-haste-cabal update
-```
-`haste-boot` builds a set of core libraries so that they can be used from Javascript
-transpiled programs:
-```shell
-haste-boot
-```
-Transpile and run a "Hello world" program:
-```
-$ echo 'module Main where main = putStrLn "Hello world"' > hello-world.hs
-$ hastec --onexec hello-world.hs
-$ node hello-world.js
-Hello world
-```
-
 ### Builds on Darwin fail with `math.h` not found
 
 Users of GHC on Darwin have occasionally reported that builds fail, because the