purescript-0.5.6: examples/passing/BlockString.purs
module Main where
foreign import foo """
function foo(s) {
return s;
}
""" :: String -> String
bar :: String -> String
bar _ = foo "test"
main = Debug.Trace.trace "Done"
module Main where
foreign import foo """
function foo(s) {
return s;
}
""" :: String -> String
bar :: String -> String
bar _ = foo "test"
main = Debug.Trace.trace "Done"