
On 2015-08-17 02:35, akash g wrote:
Not a problem. And I should have thought about what you wanted too.
This version will give you an infinite list of odd numbers from 3.
On Mon, Aug 17, 2015 at 12:02 PM, Debdut Karmakar
wrote: Sorry, I wrote a wrong function, the correct version is:
oddsFrom3 :: [Integer] oddsFrom3 = 3 : map (+2) oddsFrom3 --
A GNU [1] LINUX [2] Patron _______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners [3]
Beginners mailing
_______________________________________________ list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners [3] I know that it will evaluate to a list of odd numbers >= 3, but how? Thanks, anyway. -- A GNU [1] LINUX [2] Patron Links: ------ [1] http://gnu.org [2] http://www.linuxfoundation.org/ [3] http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners