diff options
author | Hans Svensson <[email protected]> | 2014-01-22 22:08:51 +0100 |
---|---|---|
committer | Hans Svensson <[email protected]> | 2014-01-24 19:27:16 +0100 |
commit | 8c4f797785a8510e5662a27bfcb7359d32491de7 (patch) | |
tree | 6f0415cb89c15bc8555b67faeacabed3e839b1f0 /lib/stdlib/test/proc_lib_SUITE.erl | |
parent | 25237481ccccd3ddfa74582dc267632ad618ba30 (diff) | |
download | otp-8c4f797785a8510e5662a27bfcb7359d32491de7.tar.gz otp-8c4f797785a8510e5662a27bfcb7359d32491de7.tar.bz2 otp-8c4f797785a8510e5662a27bfcb7359d32491de7.zip |
stdlib/lists: Add function droplast/1
This functions drops the last element of a non-empty list.
lists:last/1 and lists:droplast/1 are the dual of hd/1 and tl/1 but
for the end of a list.
Diffstat (limited to 'lib/stdlib/test/proc_lib_SUITE.erl')
0 files changed, 0 insertions, 0 deletions