[Haskell-cafe] Core packages and locale support
Brandon S Allbery KF8NH
allbery at ece.cmu.edu
Sat Jun 26 21:07:52 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/26/10 19:52 , Roman Beslik wrote:
> I fail to see how it will brake programs. Current programs do not use
> Unicode because it is implemented incorrectly.
Currently, FilePath is an alias for String. Changing FilePath to a real
type will break programs because there is no constructor for FilePath
currently, so everyone uses String. And Haskell doesn't auto-coerce, so you
would need to use a typeclass and separate String and FilePath instances for
compatibility.
(On the other hand, this might be a good idea anyway; another instance that
would be useful would be [Word8].)
- --
brandon s. allbery [linux,solaris,freebsd,perl] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkwmpGgACgkQIn7hlCsL25W4IACdEzcDMkz62yqn4wKfx49y0zXy
DRcAnjxWf0a4SdBE7lBLVFZessUeVJ+n
=XreM
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe
mailing list