[Yhc] "Data/Ratio" yhi error on macos X

Mike Dodds miked at cs.york.ac.uk
Sun Dec 18 16:32:11 EST 2005


Hi,

Yhc / yhi compiles and installs on my system, but if you try to compile 
a simple Haskell program like this:

main = putStrLn $ show (2+3)

executing the bytecode file with yhi gives you this error:

ERROR: couldn't find module named 'Data/Ratio'
tried:
        Data/Ratio.hbc
        
/Users/mike/Compile/yhc-devel/inst/lib/yhc/packages/yhc-base/1.0/Data/Ratio.hbc

However, this program *will* compile and run correctly:

main = putStrLn "hello, world!"

This still happens if I get and compile fresh copy of yhc-devel from 
darcs, so I don't think my repo has been corrupted or anything.

Mike.


More information about the Yhc mailing list