Build fails with simple Haskell library with cabal new-build with GHC 8.6.3

170 views Asked by At

Trying to build a Simple library with Haskell. It worked once and then just stopped working(weirdly)

only a few commands were run, a simple cabal init with only library

then the following library was added

Greet.hs

module Greet where


greeet s = "Hey, " ++ s

then cabal new-build was run and then cabal new-repl

the error is as follows

Build profile: -w ghc-8.6.3 -O1
In order, the following will be built (use -v for more details):
 - HaskellTry-0.1.0.0 (lib) (ephemeral targets)
Preprocessing library for HaskellTry-0.1.0.0..
GHCi, version 8.6.3: http://www.haskell.org/ghc/  :? for help
Ok, one module loaded.
Prelude Greet> greeet "h"
"

everything is just stuck after that.

1

There are 1 answers

0
danidiaz On BEST ANSWER

GHC 8.6.3 on Windows suffers from a bug that makes it pretty much unusable. The issue should be solved in 8.6.4.