thanks, and a question
Dave Peticolas
4 posts
|
Thank you for writing Programming Erlang. It is excellent and I enjoyed it immensely. One thing is driving me nuts: the area_server implementation used as part of the OTP But I can’t find it, and when I downloaded the code and tried it out, it seemed to thanks, |
Joe Armstrong
7 posts
|
You’re right – I’m an idiot. I’m the nitwit who “fixed” it. Silly me. The last clause of compute_area/1 in area_server.erl should be: compute_area({rectonge, X, Y}) -> X * Y. Glad you’re enjoying the book. Cheers /Joe Armstrong |
Dave Peticolas
4 posts
|
Ah, thank goodness, I am not losing my mind :) |
3 posts, 2 voices
