Primitives
ComputingPlate 37

Stack

The stack

Put things on one end of a stack. They come off in reverse order.

Inside the plate
Find the top
01 / 03
The stack
4
01

Find the top

Each numbered sheet arrived after the one beneath it. The newest is on top.

02

Push one item

A push sets the ocher sheet on top. Everything underneath keeps its place.

03

Pop one item

A pop removes that same sheet. The sheet beneath it is back on top.

The stack

Turn the page