Self Study with SOE

Hi all, I have been steadily working through Haskell SOE. However, as the exercises become more involved, I would like to know, not only that the answer I come up with works, but that I am doing it the right way (the elegant way?). For instance, Chapter 8 Exercise 8.3 requires me to modify the "area" and "perimeter" functions to accept negative arguments. My solution would be to change the functions to take the absolute value of the arguments as they come in. This would work but it doesn't seem all that elegant. Additionally, SOE exercises do not come with test data so I can test correctness. Is it part of my responsibililty as a student to come up with test data (boundary conditions etc) as I try to answer the questions? Is there some kind of solutions manual available? I promise I am not doing this as homework for a course. Thanks... Deech _________________________________________________________________ Find a local pizza place, music store, museum and moreĀ then map the best route! http://local.live.com?FORM=MGA001

Hi Deech. I'm afraid that there is no solutions manual for SOE. I have many of the solutions scattered about in various places, and have been meaning to cull them together, but haven't had the time. However, the following website should be helpful to you: http://plucky.cs.yale.edu/CS429F04 This is from a course I taught two years ago, and it contains a number of solutions to SOE problems, as well as powerpoint slides for most of the chapters, and information on more advanced topics such as Yampa. I hope this helps, -Paul Aditya Siram wrote:
Hi all, I have been steadily working through Haskell SOE. However, as the exercises become more involved, I would like to know, not only that the answer I come up with works, but that I am doing it the right way (the elegant way?).
For instance, Chapter 8 Exercise 8.3 requires me to modify the "area" and "perimeter" functions to accept negative arguments. My solution would be to change the functions to take the absolute value of the arguments as they come in. This would work but it doesn't seem all that elegant.
Additionally, SOE exercises do not come with test data so I can test correctness. Is it part of my responsibililty as a student to come up with test data (boundary conditions etc) as I try to answer the questions?
Is there some kind of solutions manual available? I promise I am not doing this as homework for a course.
Thanks... Deech

Thanks a lot. That's exactly what I wanted. I appreciate all the help I have received from the list. Deech
From: Paul Hudak
Reply-To: paul.hudak@yale.edu To: Aditya Siram CC: haskell-cafe@haskell.org, paul.hudak@yale.edu Subject: Re: [Haskell-cafe] Self Study with SOE Date: Sat, 28 Oct 2006 14:10:40 -0400 Hi Deech. I'm afraid that there is no solutions manual for SOE. I have many of the solutions scattered about in various places, and have been meaning to cull them together, but haven't had the time. However, the following website should be helpful to you:
http://plucky.cs.yale.edu/CS429F04
This is from a course I taught two years ago, and it contains a number of solutions to SOE problems, as well as powerpoint slides for most of the chapters, and information on more advanced topics such as Yampa.
I hope this helps,
-Paul
Aditya Siram wrote:
Hi all, I have been steadily working through Haskell SOE. However, as the exercises become more involved, I would like to know, not only that the answer I come up with works, but that I am doing it the right way (the elegant way?).
For instance, Chapter 8 Exercise 8.3 requires me to modify the "area" and "perimeter" functions to accept negative arguments. My solution would be to change the functions to take the absolute value of the arguments as they come in. This would work but it doesn't seem all that elegant.
Additionally, SOE exercises do not come with test data so I can test correctness. Is it part of my responsibililty as a student to come up with test data (boundary conditions etc) as I try to answer the questions?
Is there some kind of solutions manual available? I promise I am not doing this as homework for a course.
Thanks... Deech
_________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
participants (2)
-
Aditya Siram
-
Paul Hudak