|
Re: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: msg#00099lang.haskell.cafe
"Simon Marlow" <simonmar@xxxxxxxxxxxxx> writes: > >> - 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'. Yes, but nothing prevents you from creating a larger character by e.g. (toEnum 0x12345678) :: Char Lennart writes: > > What encoding(s) did hbc allow in source files? The docs only mention > > unicode characters inside character & string literals. > > The Java encoding, i.e., \uXXXX. Well, in that case, nhc98 also supports Unicode in source files, identically to hbc. Regards, Malcolm |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Implementing computations with timeout: 00099, Peter Simons |
|---|---|
| Next by Date: | Re: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: 00099, Lennart Augustsson |
| Previous by Thread: | Re: Hugs vs GHC (again) was: Re: Some randomnewbiequestionsi: 00099, Lennart Augustsson |
| Next by Thread: | Re: Hugs vs GHC (again) was: Re: Some randomnewbiequestions: 00099, Lennart Augustsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |