[Haskell-cafe] oddsFrom3 function

Debdut Karmakar debdutk at gnulinuxed.tk
Mon Aug 17 08:44:55 UTC 2015


 

I am a haskell beginner and wondering how the following function
works (in procedure) : 

oddsFrom3 :: [Integer]
 oddsFrom3 = 3 : map
(+2) oddsFrom3 

Thanks for your help. 
-- 

A GNU [1] LINUX [2] Patron


Links:
------
[1] http://gnu.org
[2] http://www.linuxfoundation.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150817/6bba7136/attachment.html>


More information about the Haskell-Cafe mailing list