VocabularysequencesInputsOutputsWord descriptionA forgiving version of
first. If the sequence is empty, or if the sequence is
f, simply outputs
f.
ExamplesOn an empty sequence:
USING: sequences prettyprint ;
{ } ?first .
f
Works like first on sequences with elements:
USING: sequences prettyprint ;
{ 1 2 3 } ?first .
1
Definition