Google Group

Working on exercises? Exchange questions, suggestions and solutions with other readers from the Erlang Programming Google Group

Subscribe to Erlang Programming
Email:


Title: Re: [Erlang Programming Book] chapter 12
Date/Time: Fri, 22 Jul 2011 16:35:01 UT
Description: than you sir
-----Original Message-----
Sent: Friday, July 22, 2011 12:06 PM
To: erlang-programming-book@google groups.com
This looks like its add_user/1 not 2 or 3, add_user takes a record as
an argument.
In the function definition you are pattern-matching the record, and
defining Phone as the msisdn attribute of the record and CustId as the

Title: chapter 12
Date/Time: Fri, 22 Jul 2011 15:56:28 UT
Description: usr calls usr_db:add_usr/3 while usr_db is add_usr/2

add_usr arity 2 and arity 3 mismatch
what am I missing?

--(module usr)--
handle_call({add_usr, PhoneNo, CustId, Plan}, _From, LoopData) ->
Reply = usr_db:add_usr(#usr{msisdn=Pho neNo,
id=CustId,
plan=Plan}),

Title: Re: [Erlang Programming Book] excersise 2-3, what is the meaning of nand?
Date/Time: Thu, 23 Jun 2011 07:19:47 UT
Description: "nand" stands for "not and", like the nand gates from the olden days.
nand(a,b) = not(and(a,b))
Best wishes
Ivan

Title: excersise 2-3, what is the meaning of nand?
Date/Time: Thu, 23 Jun 2011 03:58:11 UT
Description: b_not or b_and are just like "not" and "and".

But what is the meaning of nand?

thx

Title: Re: [Erlang Programming Book] What can I get the codes
Date/Time: Thu, 09 Jun 2011 06:31:13 UT
Description: Hi,
Glad you like the book. We decided not to include solutions to the
exercises, allowing lecturers to use them as assignments in university
courses. But if you ask, I am sure someone on the list will (offline :-)
) point you in the right direction.
Happy programming,
Francesco

Title: What can I get the codes
Date/Time: Thu, 09 Jun 2011 05:41:42 UT
Description: I'm fond of the "Erlang Programming" very much.But I don't know where
I can get codes which is the answer to the exercise attached to the
end of every chapter.I have already downloaded some codes from the
[link] only to found that what I need were
not Incorporated.Could you help me with my problem?Thanks a lot!

Title: Re: [Erlang Programming Book] Re: building erlang from source, on Mac
Date/Time: Thu, 02 Dec 2010 20:38:04 UT
Description: Hello Andrey
Thanks a-lot.
Its a stupid mistake, I've not tried to locate for odbcserver.c manually and was relying on my downloaded source-code only, thank-again to all of you guys. :)

Title: Re: building erlang from source, on Mac
Date/Time: Thu, 02 Dec 2010 19:30:41 UT
Description: That's odd. There should be two more files there.

[link]

Title: Re: [Erlang Programming Book] building erlang from source, on Mac
Date/Time: Thu, 02 Dec 2010 11:28:52 UT
Description: Thank you Francesco, but I'm looking to build it from source.
Thanks again for your reply.

Title: building erlang from source, on Mac
Date/Time: Thu, 02 Dec 2010 08:23:05 UT
Description: Hello
Guys can you please help me out to get out of this issue.
I'm trying to build Erlang from source on Mac, while building I'm getting some odbc error. I have also attached the screenshot for the same.