Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 301 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 301 Bytes

ghcjs-commonjs

exports :: ToCommonJSExport (String, e) => String -> e -> (String, CommonJSExport)

Converts a name and value to a CommonJSExport.

exportMain :: (Foldable t) => t (String, CommonJSExport) -> IO ()

Runs the event listener for running Haskell code from the JavaScript main.