Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Re: ISEQ (was: running the procedures in random order)
From: "Mike Sandy" <mjsandy@xxxxxxxxxxxxxx>
Date: Thu, 8 Feb 2007 17:55:26 -0000

The lput was deliberate. I wanted to generate an ascending list for general use besides
its use with shuffle . With lput or fput, time to produce the int list is small compared
to the time for the shuffle with large lists.
Mike
----- Original Message ----- From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, February 08, 2007 3:29 PM
Subject: Re: ISEQ (was: running the procedures in random order)



On 2/8/07, Mike Sandy <mjsandy@xxxxxxxxxxxxxx> wrote:

to iseq :a :b let[seq []] dotimes [i :b - :a + 1] [make "seq lput :i + :a :seq] op :seq end

Mike

I think you want to use fput instead of lput.

"lput" traverses the whole list to find the end, and append the
element in that position.

Daniel






  • Previous by thread: Re: ISEQ (was: running the procedures in random order)
  • Next by thread: Re: Re: ISEQ (was: running the procedures in random order)

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008