[erlang-bugs] Thank you. My mistake - wrong version. [Re: Re: Mismatch of string module and manual. to_upper, to_lower.]

Richard Kelsall r.kelsall@REDACTED
Fri Jul 27 15:25:22 CEST 2007


Thank you. That's clarified my confusion. I'm just on an older version
than that documentation. I can get this version number :

erlang:system_info(version).
"5.5"

And although I seem to be on R11 something I have to admit I can't
immediately see how to test whether it is R11B-0, but that sounds
plausible. I remember some erlang-questions mailing list thing about
this but can't find the thread. Ah, yes, from my notes about my
install process I see it is R11B0. Thank you.

Richard.


Rickard Green wrote:
 >
 > The documentation under http://www.erlang.org/doc is always the
 > documentation of the latest open source release; currently R11B-5. You
 > are using R11B-0 (I assume you mean erts version 5.5 by "erl (v5.5)").
 > The to_upper and to_lower functions in the string module were
 > introduced in R11B-4. Cut from
 > http://www.erlang.org/download/otp_src_R11B-4.readme :
 >
 >  OTP-6472  Added the functions to_upper/1 and to_lower/1 to the string
 >            module. These provide case conversion for ISO/IEC 8859-1
 >            characters (Latin1) and strings.
 >
 > BR,
 > Rickard Green, Erlang/OTP, Ericsson AB.
 >
 > Richard Kelsall wrote:
> > The manual page for the string module here
> > 
> > http://www.erlang.org/doc/man/string.html
> > 
> > talks about functions to_lower and to_upper, but they don't seem to
> > work in my version of erl (v5.5). (Unless I prefix them with http_util:
> > rather than string:) I guess they have been removed from the string
> > module because they don't work for all unicode characters, but the
> > manual has not yet been updated.
> > 
> > A generic fix might be for somebody clever to write a program to
> > compare the manual entries against the functions exported from the
> > modules and highlight differences. Or tie them together somehow.
> > 
> > 
> > Richard.
> > 
> > (Apologies for this appearing twice on TrapExit. I've subscribed
> > to the list now.)
> > 
> > 
> > _______________________________________________
> > erlang-bugs mailing list
> > erlang-bugs@REDACTED
> > http://www.erlang.org/mailman/listinfo/erlang-bugs
> > 




More information about the erlang-bugs mailing list