HeinrichApfelmus / threepenny-gui

GUI framework that uses the web browser as a display.
https://heinrichapfelmus.github.io/threepenny-gui/
Other
439 stars 77 forks source link

fixed documentation error: jsPort has type Maybe Int, not Int #117

Closed sindikat closed 8 years ago

sindikat commented 8 years ago
main :: IO ()
main = do
    startGUI defaultConfig
        { jsPort       = 8023
        , jsStatic     = Just "../wwwroot"
        } setup

in http://hackage.haskell.org/package/threepenny-gui-0.6.0.3/docs/Graphics-UI-Threepenny.html should be:

main :: IO ()
main = do
    startGUI defaultConfig
        { jsPort       = 8023
        , jsStatic     = Just "../wwwroot"
        } setup
HeinrichApfelmus commented 8 years ago

Thanks for reporting! This is now included in commit e10cda36d48bb8069cceb86aa9e2e0e195c2dc46 .