reverse(Bin) -> reverse(Bin, <<>>). reverse(<<>>, Acc) -> Acc; reverse(<<C,Bin/binary>>, Acc) -> reverse(Bin, <<Acc/binary, C>>). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150109/8af805a8/attachment.htm>