[Haskell-cafe] what do I have to do exactlry with this exercises

Sean Leather sean.leather at gmail.com
Fri Oct 30 07:13:09 UTC 2015


On Fri, Oct 30, 2015 at 9:05 AM, Roelof Wobben wrote:

> Now I have to think about how to read the values of f 1 .. fn 2 . I think
> I need 2 recursive function . One for g x and one for reading f1 or use a
> list to store f 0  .. f n and then use maximum.


There are different ways to solve the problem, certainly. I think this
problem is asking you to do the recursion yourself rather than use existing
recursive functions such as 'maximum' from the Prelude. I would assume you
are allowed to define other functions to help you as needed.

Regards,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151030/617be734/attachment.html>


More information about the Haskell-Cafe mailing list