Try/Cond

Martin Bjorklund mbj@REDACTED
Fri Oct 24 10:02:27 CEST 2003


Ulf Wiger <ulf.wiger@REDACTED> wrote:
> Personally, I prefer the (working) version:
                           ^^^^^^^^^
> 
> last([]) -> H;
> last([_|T]) -> last(T).

hehe :)


/martin



More information about the erlang-questions mailing list