I am new to Haskell recently, but I am currently facing a very annoying problem:
I followed instructions from here, and installed Haskell platform on Windows10 with default settings. But when I tried to run
cabal install [package name]
to install a haskell package, I always got the error:
C:\Users\[My Username]\AppData\Local\Temp\ghc20156_0\ghc_2.rsp: commitBuffer: invalid argument (invalid character)
Thus, I am not able to install any Haskell packages, which annoys me a lot.
I wanted to figure out a solution to the problem, but I failed. So how can I fix this error? I hope some of you could tell me.