build-infinite-list

7 views
Skip to first unread message

Willard Hagen

unread,
Dec 10, 2013, 3:07:08 PM12/10/13
to byu-cs-330...@googlegroups.com
From what I understand build-infinite-list is supposed to be an infinite list of anything.  I did this, but it seems it would be helpful to have an infinite list of numbers increasing by one for each cell.  How would I do this?

Jay McCarthy

unread,
Dec 10, 2013, 3:09:44 PM12/10/13
to Willard Hagen, byu-cs-330...@googlegroups.com
Perhaps you want to review the class notes on laziness where such a thing is defined

Sent from my iPhone

On Dec 10, 2013, at 1:07 PM, Willard Hagen <willar...@gmail.com> wrote:

From what I understand build-infinite-list is supposed to be an infinite list of anything.  I did this, but it seems it would be helpful to have an infinite list of numbers increasing by one for each cell.  How would I do this?

--
You received this message because you are subscribed to the Google Groups "byu-cs-330-fall-2013" group.
To unsubscribe from this group and stop receiving emails from it, send an email to byu-cs-330-fall-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Willard Hagen

unread,
Dec 10, 2013, 3:59:48 PM12/10/13
to Jay McCarthy, byu-cs-330...@googlegroups.com
That worked out better.  I didn't realize there was an example of one in the video. :)
--
-Willard
Reply all
Reply to author
Forward
0 new messages