List Info

Thread: documentation bug - io




documentation bug - io
user name
2007-09-17 09:22:39
http://www.erla
ng.org/doc/man/io.html

"setopts([IoDevice,] Opts) -> ok | {error, Reason}

Types:

IoDevice = io_device()
Opts = [Opt]
  Opt = binary | list
Reason = term()

Set options for standard input/output (IoDevice). Possible
options are:

binary
    ...
list
    ...
expand_fun
    Provide a function for tab-completion ..."

The 'expand_fun' format is, I assume, {expand_fun, Fun}, but
this
is not clearly stated in the documentation, nor is
expand_fun
represented in the type grammar.

Otherwise - nice option.  (:

BR,
Ulf W
_______________________________________________
erlang-bugs mailing list
erlang-bugserlang.org
ht
tp://www.erlang.org/mailman/listinfo/erlang-bugs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )