[erlang-questions] io:format validation

Sean Cribbs sean@REDACTED
Tue Nov 18 22:03:09 CET 2014


Where in the OTP source is the validation of format strings done?
Specifically, when you have io:format/2,3 or io_lib:format/2,3 in your code
and the compiler complains about the number of patterns not matching the
number of arguments.

I'd like to use this elsewhere, for instance, where a library call
eventually calls io_lib:format/2,3 but the caller into the library is not
validated.

-- 
Sean Cribbs <sean@REDACTED>
Sr. Software Engineer
Basho Technologies, Inc.
http://basho.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141118/0e400ccb/attachment.htm>


More information about the erlang-questions mailing list