diff options
author | Björn Gustavsson <[email protected]> | 2013-02-12 12:25:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-13 11:58:45 +0100 |
commit | e306b333a7a01b145c328521111c8e4cc388be19 (patch) | |
tree | c4bf5e691cbebfee164cf7168aa866c2092e1170 /lib/stdlib/test/id_transform_SUITE.erl | |
parent | 3fafadfc76d061d5d2f30afde3e647f8b8282e37 (diff) | |
download | otp-e306b333a7a01b145c328521111c8e4cc388be19.tar.gz otp-e306b333a7a01b145c328521111c8e4cc388be19.tar.bz2 otp-e306b333a7a01b145c328521111c8e4cc388be19.zip |
Clean up and simplify the inner matching loop
Use list comprehensions and 'orelse' to make the code more concise.
Rename wildcard_5/2 to match_part/2 to make it clearer what it does.
If the pattern always matches, don't test it in every iteration of
the loop.
Diffstat (limited to 'lib/stdlib/test/id_transform_SUITE.erl')
0 files changed, 0 insertions, 0 deletions