[erlang-questions] json to map
Fri Aug 28 21:52:04 CEST 2015
Op 28-8-2015 om 21:47 schreef Hugo Mills:
> On Fri, Aug 28, 2015 at 03:33:56PM -0400, Kevin Montuori wrote:
>>>>>>> "rw" == Roelof Wobben <r.wobben@REDACTED> writes:
>> 8> time_parser:tokens().
>> rw> ** exception error: no function clause matching
>> rw> time_parser:tokens("\n") (time_parser.erl, line 5)
>> rw> where do the /n come from ?
>> What happens when you type
>> 1> ().
>> in the REPL?
> Roelof: This is the kind of question that I was saying you should
> be paying attention to. If you can answer this question and explain
> it, you've got your answer to your original question. You should have
> the knowledge from earlier reading in your book to explain the results
> you see.
> (Or just read my mail from a few minutes ago, which gives you the
> answer directly... my teaching error).
I understand it now. My mind is still not set up for seeing this sort of
things. Maybe to late.
Also I see that I have to rewrite my digits function. When entering 10
I see the answer 538 which is the 49 (1) * 10 + 48(0)
Now time to sleep and rethink it.
More information about the erlang-questions