faylang / fay

A proper subset of Haskell that compiles to JavaScript
https://github.com/faylang/fay/wiki
BSD 3-Clause "New" or "Revised" License
1.29k stars 86 forks source link

Typecheck packages using `ghc -i` instead of `ghc -package` #404

Closed bergmark closed 10 years ago

bergmark commented 10 years ago

Refs faylang/fay-text#1

When passing -package to GHC it will type check against the installed version of the package. This might not be the same as the Fay version because of CPP. I don't think the current setup will reject any valid programs, but type errors get more confusing.

bergmark commented 10 years ago

Oops, forgot I had already created an issue for this, #385