Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: implementing a stack

  • To: mathgroup at
  • Subject: [mg15989] Re: implementing a stack
  • From: Dan Truong <dtruong at>
  • Date: Fri, 19 Feb 1999 03:27:06 -0500
  • Organization: Irisa, Rennes (FR)
  • References: <7ag29l$>
  • Sender: owner-wri-mathgroup at

I guess something like this:
list = Prepend[list,element];
list = Delete[list,1];

See Prepend, Append Insert, Delete ReplacePart Union, Join...
Page 128 of Wolfram/Mathematica book 2nd ed. or help.

  • Prev by Date: Strange result of Limit function in Mathematica3.0
  • Next by Date: Re: escape-sequences in strings
  • Previous by thread: Re: implementing a stack
  • Next by thread: Re: implementing a stack