Skip to content

Latest commit

 

History

History

ghcjs-commonjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.