Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #20 from dnet/list-comprehension

Replaced unnecessary list comprehension with lists:map/2
  • Loading branch information...
commit a26ad96f58a508f0c901d75527df1900147acee8 2 parents 12f4627 + b0f4a2f
@tim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/oauth.erl
View
2  src/oauth.erl
@@ -263,7 +263,7 @@ uri_join(Values) ->
uri_join(Values, "&").
uri_join(Values, Separator) ->
- string:join([uri_encode(Value) || Value <- Values], Separator).
+ string:join(lists:map(fun uri_encode/1, Values), Separator).
intercalate(Sep, Xs) ->
lists:concat(intersperse(Sep, Xs)).
Please sign in to comment.
Something went wrong with that request. Please try again.