Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

replaced unnecessary list comprehension with lists:map/2 #20

Merged
merged 1 commit into from

2 participants

@dnet

No description provided.

@tim tim merged commit a26ad96 into from
@tim
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 17, 2013
  1. @dnet
This page is out of date. Refresh to see the latest.
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)).
Something went wrong with that request. Please try again.