[Haskell-beginners] Difference between Char and Data.Char modules

Ken Overton koverton at lab49.com
Thu Jun 14 21:43:50 CEST 2012


Thanks; is there a better, more current example that you know of where I might start instead?



----- Original Message -----
From: Stephen Tetley [mailto:stephen.tetley at gmail.com]
Sent: Thursday, June 14, 2012 03:27 PM
To: Ken Overton
Cc: beginners at haskell.org <beginners at haskell.org>
Subject: Re: [Haskell-beginners] Difference between Char and Data.Char modules

Char dates from the Haskell 98 specification, before hierarchical
modules were standardised. Data.Char is the newer hierarchical module
- it has been the de facto standard for a long time. Haskell 98 is
still supported by GHC but it is no longer the default - I think you
have to provide flags at the command line to get H98 automatically.

I'm not sure if the GLR (or attribute grammar) bits of Happy are
actively used, so you might expect a few infelicities if you try to
use them.

________________________________

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 mailing list