2011/6/22 Gregory Collins :
> On Wed, Jun 22, 2011 at 4:39 PM, SM Design wrote:
>> I have a homework which is very important to be done but I can't complete
>> the task at all. The program i should write is:
>
> Nobody on this list is going to do your homework for you
On Wed, Jun 22, 2011 at 10:39 PM, SM Design wrote:
> I have a homework which is very important to be done but I can't complete
> the task at all. The program i should write is:
http://www.haskell.org/haskellwiki/Homework_help
___
Haskell-C
On Wed, Jun 22, 2011 at 4:39 PM, SM Design wrote:
> I have a homework which is very important to be done but I can't complete
> the task at all. The program i should write is:
Nobody on this list is going to do your homework for you, or at least
I hope not. Before you expect to ge
I have a homework which is very important to be done but I can't complete the
task at all. The program i should write is: Make calculator- function
in
Haskell. The function argument is a list of strings and also form such
list, as each string of the argument made def
I did a blog post on basic matrix ops which may be useful to you
http://blog.keithsheppard.name/2009/06/bird-tracks-through-math-land-basic.html
It uses a 2D list representation for matrices which you would not do
for any performance critical work.
best
keith
On Wed, Feb 3, 2010 at 1:38 AM, 조광래
On 3 Feb 2010, at 07:38, 조광래 wrote:
hi i was trying to solve it but
All i got is
type Matrix=[[Double]]
multMM :: Matrix -> Matrix -> Matrix --multiplies two matrices
multMM m t =[[sum (zipWith (*) (head m)(a)) ] ]where a = [head
a | a<- t]
Main> multMM [[2,1,-6],[1,-3,2]] [[1,0,-3
hi i was trying to solve it but
All i got is
type Matrix=[[Double]]
multMM :: Matrix -> Matrix -> Matrix --multiplies two matrices
multMM m t =[[sum (zipWith (*) (head m)(a)) ] ]where a = [head a | a<-
t]
Main> multMM [[2,1,-6],[1,-3,2]] [[1,0,-3],[0,4,20],[-2,1,1]]
[[14.0]]
from this i
; possibly has multiple solutions, like building an engine for a car, I
> would do better if I hadn't seen a (well crafted) working engine by
> someone else than if I had?
I thought we were talking about homework for a school/university course.
I tacitly assumed that the principles and s
Iain Barnett wrote:
So, if I was trying to come up with a solution to a problem that
possibly has multiple solutions, like building an engine for a car, I
would do better if I hadn't seen a (well crafted) working engine by
someone else than if I had?
If effort is there, then give me the e
On 2009-09-29 13:47 +0100 (Tue), Iain Barnett wrote:
> So, if I was trying to come up with a solution to a problem that
> possibly has multiple solutions, like building an engine for a car, I
> would do better if I hadn't seen a (well crafted) working engine by
> someone else than if I had?
If you do a student's homework, you are cheating that student out of
an education.
Personally, I tend to find "exercises" without access to the answers a
poor way to learn. You'll learn more from a well crafted example than
you ever will by struggling at something yourse
On 29 Sep 2009, at 12:48, Daniel Fischer wrote:
Am Dienstag 29 September 2009 13:04:38 schrieb Iain Barnett:
Personally, I tend to find "exercises" without access to the answers
a poor way to learn. You'll learn more from a well crafted example
than you ever will by struggling at something you
Am Dienstag 29 September 2009 13:04:38 schrieb Iain Barnett:
> Personally, I tend to find "exercises" without access to the answers
> a poor way to learn. You'll learn more from a well crafted example
> than you ever will by struggling at something yourself.
I sort of disagree. You'll learn mo
On 29 Sep 2009, at 03:19, Casey Hawthorne wrote:
If you do a student's homework, you are cheating that student out of
an education.
He/She may realize that t late in the future.
--
Regards,
Casey
I'm not sure I agree with that. If they're old enough to be doing
Haskel
If you do a student's homework, you are cheating that student out of
an education.
He/She may realize that t late in the future.
--
Regards,
Casey
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/ha
> I'm not really hip to the culture here so this is just an
> observation, but some of the recent questions posted to this
> list (and beginn...@haskell.org) look a lot like someone's
> homework.
Well, if homework "looks like" homework, the teacher is gui
Am Dienstag 29 September 2009 01:40:02 schrieb Michael P Mossey:
> I'm not really hip to the culture here so this is just an observation, but
> some of the recent questions posted to this list (and
> beginn...@haskell.org) look a lot like someone's homework. Is anyone her
> I think the consensus is "Help, not do" when it comes to homework (esp. on
> -beginners). At least, thats what I try to do. I've always got the sense
> that that is what the community expects.
Yep, there's a whole policy on this.
http://www.haskell.org/has
I think the consensus is "Help, not do" when it comes to homework
(esp. on -beginners). At least, thats what I try to do. I've always
got the sense that that is what the community expects.
On Sep 28, 2009, at 7:40 PM, Michael P Mossey wrote:
I'm not really hip to the
I'm not really hip to the culture here so this is just an observation, but some
of the recent questions posted to this list (and beginn...@haskell.org) look a
lot like someone's homework. Is anyone here concerned about avoiding giving the
full answer, or maybe it's really none
ree. That page is pretty nasty. It looks like the person
summarised Eric Raymond's article, which is also pretty nasty. A
rewrite would be very good!
> Let me be clear: I am not arguing that we should do people's homework for
> them. But I am arguing for changing the tone of t
re only here
for our personal daily fix of mental challenge, and if they can't meet
that then they've got no business wasting our time.
Let me be clear: I am not arguing that we should do people's homework for
them. But I am arguing for changing the tone of the response. I'
Hmm, looks like the garbage collector got hungry again:
1093,741,664,672 bytes allocated in the heap
1006,759,632,160 bytes copied during GC (scavenged)
72,181,353,728 bytes copied during GC (not scavenged)
400,940,412 bytes maximum residency (8853 sample(s))
76353 collections in generation
On 7/3/07, Thomas Conway <[EMAIL PROTECTED]> wrote:
Okay, so a bit of a tweak of the RTS flags, I got a DRAMATIC improvement:
239,434,077,460 bytes allocated in the heap
9,034,063,712 bytes copied during GC (scavenged)
132,748,740 bytes copied during GC (not scavenged)
226,313,736 bytes maximum
[I assume this was meant to go to the list as well, so I'm adding it
back to the CCs]
On 7/3/07, Thomas Conway <[EMAIL PROTECTED]> wrote:
It occurs to me that tweaking the GC parameters can probably make a
big difference: is starting with a bigger heap likely to help, or more
generations? My gen
On Wed, Jul 04, 2007 at 03:56:20PM +1000, Thomas Conway wrote:
> Well, not quite, but look at the following:
>
> 118,342,689,824 bytes allocated in the heap
> 144,831,738,780 bytes copied during GC (scavenged)
> 335,086,064 bytes copied during GC (not scavenged)
> 255,257,516 bytes maximum residen
On 7/3/07, Thomas Conway <[EMAIL PROTECTED]> wrote:
Well, not quite, but look at the following:
118,342,689,824 bytes allocated in the heap
144,831,738,780 bytes copied during GC (scavenged)
335,086,064 bytes copied during GC (not scavenged)
255,257,516 bytes maximum residency (42 sample(s))
Well, not quite, but look at the following:
118,342,689,824 bytes allocated in the heap
144,831,738,780 bytes copied during GC (scavenged)
335,086,064 bytes copied during GC (not scavenged)
255,257,516 bytes maximum residency (42 sample(s))
222884 collections in generation 0 (3891.90s)
At 13:12 14/12/03 +0100, Max Hoffmann wrote:
Dear Haskell cafe members,
I am somebody one could well call a bloody beginner but the elegance of
functional programming and am therefore truly interested to learn more about
Haskell.
Now I have an assignment to write a parsing function to convert a s
What I mean is, what kinds of clauses do you need for when you are done
with recursion, and what should your first call to this function look
like?
Of course, you need to try out your code and carefully think about what
it's doing. When asking for homework help on haskell-cafe, Haskell
Dear Haskell cafe members,
I am somebody one could well call a bloody beginner but the elegance of
functional programming and am therefore truly interested to learn more about
Haskell.
Now I have an assignment to write a parsing function to convert a string of
a mathematical expression into a tr
G'day all.
On Wed, Sep 03, 2003 at 08:34:58AM +0100, Simon Peyton-Jones wrote:
> One suggestion: it'd be good to suggest *strongly* that people only
> send their homework-style questions to Haskell-café, not to the main
> Haskell list.
Done, thanks.
Che
Good write-up.
One suggestion: it'd be good to suggest *strongly* that people only send their
homework-style questions to Haskell-café, not to the main Haskell list. Given the
existence of the fomer, using the latter is likely to irritate, which isn't likely to
elicit helpful res
G'day all.
In response to the recent poll, and because I promised to, here is a
first attempt at a page to direct people to, should they ask for
homework help in the wrong way:
http://haskell.org/hawiki/HomeworkHelp
Comments, criticisms and contributions are most welcome.
C
hat I do when a student fronts up to my office
wanting help with homework I've set. I'd have no problem with
(informed) third parties doing the same."
(If you sent me descriptive text, didn't keep a copy yourself, and
were expecting me to
- make it
clear that the answers are out there, but you have to look for them and
puzzle them through yourself.
Dominic
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 3:09 AM
Subject: Re: Poll: How to respond to homework qu
"Shawn P. Garbett" <[EMAIL PROTECTED]> writes:
> For the "How do I write a map function in Haskell?", how about an answer of
> "drop course immediately before your GPA is impacted further."
:-)
> Of course, this comes from someone whos made some stupid posts to this list,
> and gotten polite a
> (A) Give a perfect answer.
> (B) Give a subtly flawed answer.
> (C) Give an obfuscated answer.
> (D) Give a critique of what the questioner has tried so far.
> (E) Give relevant general advice without answering the specific question.
>
As a general rule, I require any student who comes to me
On Thu, Aug 28, 2003 at 09:42:56AM +1200, Tom Pledger wrote:
> I'm curious about what the people on this list consider appropriate,
> as responses to homework questions. Even if there isn't a consensus,
> it may be interesting to see how opinion is divided.
>
> Plea
Matthew Donadio writes:
| Tom Pledger wrote:
:
| > (D) Give a critique of what the questioner has tried so far.
:
| There is a big difference between "I am having some trouble with this
| homework problem. This is what I did. Could someone give me some
| tips? Thanks"
On Thursday 28 August 2003 04:25 am, Ketil Z. Malde wrote:
> > On Wed, Aug 27, 2003 at 05:50:14PM -0400, Matthew Donadio wrote:
> >> There is a big difference between "I am having some trouble with this
> >> homework problem. This is what I did. Could someone gi
OK: D E
Not OK: A B C
I have never seen anybody asking more than one
"do my homework" question. I would encourage
students to give it a try, even if it's not
working, and give some advice on that.
Pointing to a web page like "do your homework
yourself - it will benefit you
On Thu, Aug 28 2003, Tom Pledger wrote:
> (A) Give a perfect answer.
> (B) Give a subtly flawed answer.
I would never ever do either A or B no matter how the question was
phrased. A does not really help and B is just plain mean.
> (C) Give an obfuscated answer.
C is not a very good way to go eit
G'day all.
On Thu, Aug 28, 2003 at 11:25:43AM +0200, Ketil Z. Malde wrote:
> I suppose C is one way to do F, in particular by providing a working
> program so complex and opaque that no first-year could possibly have
> written it.
Uhm... yes.
> I'm not sure I care much for politesse.
Understoo
critique of what the questioner has tried so far.
>>> (E) Give relevant general advice without answering the specific question.
(F) Give a blatantly incorrect answer, providing entertainment value
to those of us who did our own homework, and hopefully a clue to
the more
wiki) which we can include in the list
subscription information and can also send to people who ask for the
kind of homework help that we don't like to see. IMO, this is better
than ignoring, and far more polite than giving a correct but highly
useless answer, fun though that might be.
I
Tom Pledger wrote:
> I'm curious about what the people on this list consider appropriate,
> as responses to homework questions. Even if there isn't a consensus,
> it may be interesting to see how opinion is divided.
>
> Please consider the following.
>
> (A) Give
Hi.
I'm curious about what the people on this list consider appropriate,
as responses to homework questions. Even if there isn't a consensus,
it may be interesting to see how opinion is divided.
Please consider the following.
(A) Give a perfect answer.
(B) Give a subtly flawed answer
> Here's one: figure out what the following does :-)
> puzzle = (!!) $ map (1:) $ iterate (s (lzw (+)) (1:)) [] where
> s f g x = f x (g x)
> lzw op xs [] = xs
> lzw op [] ys = ys
> lzw op (x:xs) (y:ys) = op x y : lzw op xs ys
Can be written simpler
puzzle = (!!) $ iterate (s (
thomas_bevan wrote:
>
> Seeing as its thst time of year again and everyone is posting their
> homework, has anyone got any good puzzles to do?
> I wouldn't mind having a go at something a bit tricky.
Here's one: figure out what the following does :-)
puzzle = (!!) $ map
it be? Just give it some thought.")
This was cruel timing. ;-)
---Frank
On Friday, Aug 22, 2003, at 02:25 US/Eastern, Andrew J Bromage wrote:
G'day all.
On Fri, Aug 22, 2003 at 03:41:14PM +1000, [EMAIL PROTECTED]
wrote:
Seeing as its thst time of year again and everyone is posting
of year again and everyone is posting their
> > homework, has anyone got any good puzzles to do?
> > I wouldn't mind having a go at something a bit tricky.
>
> OK, here's a tricky problem.
>
> Take a list S. Delete some elements from the list. What you have
> l
G'day all.
On Fri, Aug 22, 2003 at 03:41:14PM +1000, [EMAIL PROTECTED] wrote:
> Seeing as its thst time of year again and everyone is posting their
> homework, has anyone got any good puzzles to do?
> I wouldn't mind having a go at something a bit tricky.
OK, here's a
Seeing as its thst time of year again and everyone is posting their
homework, has anyone got any good puzzles to do?
I wouldn't mind having a go at something a bit tricky.
Tom
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskel
54 matches
Mail list logo