I'm having trouble compiling a working Haskell library to JavaScript using Fay.
I believe I've successfully installed Fay using cabal-dev, and set the HASKELL_PACKAGE_SANDBOX environment.
When I attempt to compile, I get the following:
C:\ror>cabal-dev\bin\fay --package fay-base --library --include src src\IRR.hs
fay: ghc:
src\Period.hs:27:8:
Could not find module `Data.Function'
It is a member of the hidden package `base'.
Use -v to see a list of the files searched for.
Using ghc-pkg list
I can see that base-4.6.0.1
is exposed.
Any hints on what to try next?
Thanks! N