[Haskell-cafe] Re: How to use infinite lists to define the list of all negative integers

Max Vasin max.vasin at gmail.com
Mon Feb 5 12:39:54 EST 2007


>>>>> "Bahtijar" == Bahtijar Vogel <bahtijarvogel at gmail.com> writes:

Bahtijar> Hi, How am I supposed to use infinite lists to define
Bahtijar> the list of all negative integers?

negs = [-1,-2..]

-- 
WBR,
Max Vasin.



More information about the Haskell-Cafe mailing list