Re: H98 FFI Addendum 1.0, Release Candidate 15
Manuel M T Chakravarty <[email protected]> Mon, 17 Nov 2003 20:10:40 +1100 (EST)
| Newsgroups | gmane.comp.lang.haskell.ffi |
|---|---|
| Message-ID | <[email protected]> |
"Simon Marlow" <[email protected]> wrote, > It is true that strictly speaking we don't need to say anything here. > But I think it would be helpful to include a footnote as a guide to > implementors, something along the lines of > > [1] Note that if the platform defines __STDC_ISO_10646__ then wchar_t > characters are Unicode code points, and thus the conversion between > Haskell Char and CWChar is a simple cast. On other platforms, the > translation is locale-dependent just as for CChar. > > And the paragraph in question could be just > > The module \code{CString} also exports a > variant of the above string marshalling routines for wide > characters, i.e. the C \code{wchar_t} type[1]. Ok. That's what's going to be in RC16. Cheers, Manuel