previous up contents next
Left: Reverse Up: Standard library function functions Right: Rest

First

First maps a path to its first element if there is one, and to Fail otherwise.

    First:
        <> == Fail:<'First'>
        <$x> == $x.
    
    First:<a b c> = a.


---------------------------------------------------------

Copyright © Roger Evans, Gerald Gazdar & Bill Keller, Tuesday 10 November 1998