[erlang-questions] io:format printing integers prefixed with zero(0)

Bob Ippolito <>
Mon May 5 19:51:06 CEST 2008


The version I just checked in wraps the mochinum calls with try and
calls the stdlib equivalents, it should run independently now.

On Mon, May 5, 2008 at 10:41 AM, Bob Ippolito <> wrote:
> Yes, it requires other parts of mochiweb to run the full test suite.
>
>
>
>  On Mon, May 5, 2008 at 10:27 AM, Jilani Khaldi <> wrote:
>  > Bob Ippolito wrote:
>  >  > I just happened to have written a string formatting library yesterday,
>  >  > modeled after Python 2.6's PEP 3101 Advanced String Formatting. it's
>  >  > in the mochiweb repository here:
>  >  > http://mochiweb.googlecode.com/svn/trunk/src/mochifmt.erl
>  >  28> mochifmt:test().
>  >  ** exception error: undefined function mochinum:digits/1
>  >       in function  mochifmt:format_field/3
>  >       in call from mochifmt:format2/4
>  >       in call from mochifmt:bformat/2
>  >       in call from mochifmt:test_format/0
>  >       in call from mochifmt:test/0
>  >
>  >  //JK
>  >
>  >
>  >
>  >  _______________________________________________
>  >  erlang-questions mailing list
>  >  
>  >  http://www.erlang.org/mailman/listinfo/erlang-questions
>  >
>



More information about the erlang-questions mailing list