Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Using scanl for Fibonacci sequence (Lai Boon Hui)
----------------------------------------------------------------------
Message: 1
Date: Wed, 12 Oct 2016 12:23:41 +0800
From: Lai Boon Hui <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Using scanl for Fibonacci sequence
Message-ID:
<CAJdQgg=dmc0agkudl71npvpdjbuesjbe1bd+cbgbblf_q8o...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi All,
i am not very sure how this can work
fibs = 1 : scanl (+) 1 fibs
Appreciate it if someone can guide me through by showing me a few steps of
the function evaluation
--
Best Regards,
Boon Hui
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20161012/43d2b285/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 100, Issue 9
*****************************************