@@ -14,11 +14,11 @@ Inline Javascript
1414A foreign import declaration may optionally contain its definition in Javascript as a string literal. If this is provided, the string will be inserted directly into the generated Javascript before the current module definition::
1515
1616 foreign import pow
17− "function pow(n) {\
18− \ return function(p) {\
19− \ return Math.pow(n, p);\
20− \ };\
21− \}" :: Number -> Number -> Number
17+ """function pow(n) {
18+ return function(p) {
19+ return Math.pow(n, p);
20+ };
21+ }""" :: Number -> Number -> Number
2222
2323Importing Types
2424---------------