[erlang-questions] "function password_generator/0 undefined" <--- Having a n00b moment.

André Graf <>
Wed Mar 28 20:54:54 CEST 2012


Hello

The two password_generator functions are of different arity (0 and 5),
so you cannot terminate the arity 0 function with the semicolon. Use
the dot instead.

Cheers
Andre

On 28 March 2012 20:48, Yves S. Garret <> wrote:
> I'm trying to get back into Erlang and figured I'd try this example, just
> for my own amusement and scant benefit.
>
> This is my code and -- frankly -- I don't understand why I'm getting this
> error.
> http://bin.cakephp.org/view/439045988
>
> Why am I getting this error?
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list