[erlang-bugs] Mismatch of string module and manual. to_upper, to_lower.
Rickard Green
rickard.s.green@REDACTED
Thu Jul 26 20:13:00 CEST 2007
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