[erlang-questions] lists:reverse/1 as a built-in function
James Hague
james.hague@REDACTED
Wed Jan 3 19:01:11 CET 2007
lists:reverse/1 is already a function written in C, but is there any
reason it can't be put on equal footing with length/1, size/1,
integer_to_list/2, and so on. Surely reverse is the most commonly
used stdlib function, so why not promote it to a true built-in, so
there's no need to prefix it with "lists:"?
James
P.S. I already import lists:reverse in most modules I write, to avoid
the prefix, but it seems redundant.
More information about the erlang-questions
mailing list