help with an intriguing problem

Daniel Fischer daniel.is.fischer at web.de
Fri Apr 18 16:35:33 EDT 2008


Am Freitag, 18. April 2008 22:14 schrieb Liang Guang:
>  Hi!
>    the ghc compiler keeps complaing " can't find module 'Char', perhaps you
> haven't installed the profiling libraries for package haskell98?". but
> actually I did install it, and i checked with ghc -v , it is right there:
> "wired-in package haskell98 mapped to haskell98-1.0.1.0", and Char.hi is
> right there in the folder haskell98-1.0.1.0.. can't figure out why it
> happened.. anyone please ?
>
>
>   Thanks!
>   Liang
>
You'd want the hierarchical modules now.
Replace

import Char

with

import Data.Char

and it should work.


More information about the Glasgow-haskell-users mailing list