newbie questions
Ken Shan
ken@digitas.harvard.edu
Wed, 8 Jan 2003 15:21:04 -0500
--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2003-01-08T09:19:10+0200, Max Ischenko wrote:
> - To be able to run it both in Hugs and by GHC I need an
> `import Data.Char(isSpace) for GHC`. Can this be conditionally
> included in a source for GHC only?
You could use say the C preprocessor to do this, but a better way to
solve your problem would be to say
import Char (isSpace)
This should work with Hugs, GHC, as well as other implementations of
Haskell 98.
--=20
Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig
Studded tires buzzing
Cycle to work all year, I
See stupid people
--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+HIgwzjAc4f+uuBURAhAGAJ45K3KToib/OekCUt54tQS3zjvRGACglsVe
jhse91F+jvyOpZb2yZ4CwII=
=ZY0r
-----END PGP SIGNATURE-----
--nFreZHaLTZJo0R7j--