Hi,
First of all, sorry if its in the wrong section..
But I'm just having trouble getting to grips with Haskell. I have my
functional programming exam tommorow and I'm struggling to understand any of
this.
We worked through the book The Craft Of Functional Programming and Im trying
to work my w
Pretty much yeah.. Im going through the book and things like :
Define a function rangeProduct which when given natural numbers m and n,
returns the product m*(m+1)**(n-1)*n
I got the solution from my lecture notes but I still dont understand it..
rangeProduct :: Int -> Int -> Int
rangeProdu
It may be a bit late but I'll try anything
Thankyou, I'll have a read :-)
Matthias Görgens-2 wrote:
>
> Hi,
>
> it may be a bit too late for you, but in general working through
> Smullyan's "To Mock a Mockingbird"
> (http://en.wikipedia.org/wiki/To_Mock_a_Mockingbird) may help in
> coming to
that a good approach?
Henk-Jan van Tuyl wrote:
>
> On Thu, 14 Jan 2010 15:38:26 +0100, Ian675
> wrote:
>
>>
>> Pretty much yeah.. Im going through the book and things like :
>>
>> Define a function rangeProduct which when given natural numbers m and n,
>