LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

mailbox-peek

Function
Summary

Peeks at the first object in a mailbox.

Package

mp

Signature

mailbox-peek mailbox => result

Arguments

mailbox

A mailbox.

Values

result

Any object or nil .

Description

The mailbox-peek function returns the first object in the mailbox without removing it. If the mailbox is empty, nil is returned.

See also

mailbox-empty-p
mailbox-send
mailbox-read
make-mailbox


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex