File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ foreign import fromCharCode
1212 \ return String.fromCharCode(n);\
1313 \}" :: Number -> String
1414
15- foreign import indexOfS
16- " function indexOfS (s1) {\
15+ foreign import indexOf
16+ " function indexOf (s1) {\
1717 \ return function(s2) {\
1818 \ return s1.indexOf(s2);\
1919 \ }; \
2020 \}" :: String -> String -> Number
2121
22- foreign import lastIndexOfS
23- " function lastIndexOfS (s1) {\
22+ foreign import lastIndexOf
23+ " function lastIndexOf (s1) {\
2424 \ return function(s2) {\
2525 \ return s1.lastIndexOf(s2);\
2626 \ };\
2727 \}" :: String -> String -> Number
2828
29- foreign import lengthS
30- " function lengthS (s) {\
29+ foreign import length
30+ " function length (s) {\
3131 \ return s.length;\
3232 \}" :: String -> Number
3333
@@ -47,8 +47,8 @@ foreign import replace
4747 \ };\
4848 \}" :: String -> String -> String -> String
4949
50- foreign import sliceS
51- " function sliceS (st) {\
50+ foreign import slice
51+ " function slice (st) {\
5252 \ return function(e) {\
5353 \ return function(s) {\
5454 \ return s.slice(st, e);\
You can’t perform that action at this time.
0 commit comments