Skip to content

Commit

Permalink
Swap joinWith arguments for better style
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Apr 27, 2014
1 parent 21d97ca commit 1369751
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Data/String.purs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ foreign import trim
\}" :: String -> String

foreign import joinWith
"function joinWith (l) {\
\ return function (s) {\
\ return l.join(s);\
"function joinWith (s) {\
\ return function (xs) {\
\ return xs.join(s);\
\ };\
\}" :: [String] -> String -> String
\}" :: String -> [String] -> String

0 comments on commit 1369751

Please sign in to comment.