REBOL [
    Title: "Push"
    Date: 3-Jul-2002
    Name: Push
    Version: 1.0.0
    File: %Push.r
    Author: "Andrew Martin"
    Purpose: {Inserts a value into a series and returns the series head.}
    Email: Al.Bri@xtra.co.nz
    Web: http://valley.150m.com
    Category: [util 5]
]

Push: func [
    "Inserts a value into a series and returns the series head."
    Stack [series! port! bitset!]   "Series at point to insert."
    Value [any-type!] /Only "The value to insert."
    ][
    head either Only [
        insert/only Stack :Value
        ][
        insert Stack :Value
        ]
    ]