Skip to content

Commit 1369751

Browse files
committed
Swap joinWith arguments for better style
1 parent 21d97ca commit 1369751

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/Data/String.purs

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ foreign import trim
9191
\}" :: String -> String
9292

9393
foreign import joinWith
94-
"function joinWith (l) {\
95-
\ return function (s) {\
96-
\ return l.join(s);\
94+
"function joinWith (s) {\
95+
\ return function (xs) {\
96+
\ return xs.join(s);\
9797
\ };\
98-
\}" :: [String] -> String -> String
98+
\}" :: String -> [String] -> String

0 commit comments

Comments
 (0)