[Haskell-cafe] Ghc error messages on Windows

Kees Bleijenberg K.Bleijenberg at lijbrandt.nl
Tue Aug 28 11:55:34 UTC 2018

I've installed stack on Windows 7 64 bits. When I do "stack build" I get the
output below. It looks like a character encoding problem. The generated
executable is okay. This problems exists with all projects. Stack uses ghc
version 8.4.3?





d:\haskell\Sudoku>stack build

[0mSudoku- unregistering (local file changes: src\CalcSudoku.hs)[0m

[0mSudoku- build (lib + exe)[0m

[0mPreprocessing library for Sudoku-[0m

[0mBuilding library for Sudoku-[0m

[0m[2 of 3] Compiling SudokuTypes      ( src\SudokuTypes.hs,

d103d30\build\SudokuTypes.o )[0m

[0m[3 of 3] Compiling CalcSudoku       ( src\CalcSudoku.hs,

103d30\build\CalcSudoku.o )[0m


[0m[;1msrc\CalcSudoku.hs:181:1: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m[0m


[0m    parse error (possibly incorrect indentation or mismatched


[0m[;1m[34m    |[0m[0m[0m

[0m[;1m[34m181 |[0m[0m [;1m[31mg[0m[0metMin :: [a] -> [a -> Int] -> a

[0m[;1m[34m    |[0m[0m[;1m[31m ^[0m[0m[0m



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180828/10f997d8/attachment.html>

More information about the Haskell-Cafe mailing list