[Haskell-beginners] Difference between Char and Data.Char modules
koverton at lab49.com
Thu Jun 14 21:05:58 CEST 2012
I just started looking at the Happy packag; I get a compile error when attempting to build examples/glr/expr-eval:
Could not find module `Char'
It is a member of the hidden package `haskell98-184.108.40.206'.
ExprData.hs:9 says “import Char” and if I change this to “import Data.Char” it compiles correctly (then I get a similar message for System, but when I understand Char I expect I will understand this too).
Could someone kindly explain the difference between these two modules? From the look of the error, I’m guessing there’s a history lesson involved?
This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.
More information about the Beginners