|
RE: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: msg#00089lang.haskell.cafe
On 07 January 2005 12:30, Malcolm Wallace wrote: > "Simon Marlow" <simonmar@xxxxxxxxxxxxx> writes: > >> Here's a summary of the state of Unicode support in GHC and other >> compilers. There are several aspects: >> >> - Can the Char type hold the full range of Unicode characters? >> This has been true in GHC for some time, and is now true in Hugs. >> I don't think it's true in nhc98 (please correct me if I'm wrong). > > You're wrong :-). nhc98 has always had 32-bit characters internally. I checked the nhc98 sources, and it seems that maxBound::Char is '\255'. >> - Can you use (some encoding of) Unicode for your Haskell source >> files? I don't think this is true in any Haskell compiler right >> now. > > Many years ago, hbc claimed to be the only compiler with support for > this. What encoding(s) did hbc allow in source files? The docs only mention unicode characters inside character & string literals. Cheers, Simon |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Implementing computations with timeout: 00089, Einar Karttunen |
|---|---|
| Next by Date: | Re: Some random newbie questions: 00089, Paul Hudak |
| Previous by Thread: | Implementing computations with timeouti: 00089, Einar Karttunen |
| Next by Thread: | Re: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: 00089, Lennart Augustsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |