aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/test/lists_SUITE.erl
diff options
context:
space:
mode:
authorHans Svensson <[email protected]>2014-01-22 22:08:51 +0100
committerHans Svensson <[email protected]>2014-01-24 19:27:16 +0100
commit8c4f797785a8510e5662a27bfcb7359d32491de7 (patch)
tree6f0415cb89c15bc8555b67faeacabed3e839b1f0 /lib/stdlib/test/lists_SUITE.erl
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-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/lists_SUITE.erl')
0 files changed, 0 insertions, 0 deletions