@@ -14,11 +14,11 @@ Inline Javascript
14A 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::
14A 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::
16 foreign import pow
16 foreign import pow
17− "function pow(n) {
17+ """function pow(n) {
18 return function(p) {
18 return function(p) {
19 return Math.pow(n, p);
19 return Math.pow(n, p);
21− }" :: Number -> Number -> Number
21+ }""" :: Number -> Number -> Number
23Importing Types
23Importing Types
24---------------
24---------------