Open mgsloan opened 8 years ago
Actually, it compiles with stack ghci
but not with stack build
.
The error says Parse error on a binding <- of a do block.
(line #15 on the paste).
The project is indeed haskell2010; we suspect it could be the issue.
Right, stack ghci
is running in haskel98 mode. stack build
knows to use haskell2010.
From nitrix on #haskell, line 15 of http://lpaste.net/162186 has a
do
block with the contents aligned with thelet
. It builds with haskell98 but not haskell2010.