defaultMain: update documentation

This commit is contained in:
Jonathan Daugherty 2023-11-09 16:37:04 -08:00
parent 6ca86613b5
commit d93cdfca45

View File

@ -123,8 +123,8 @@ data App s e n =
}
-- | The default main entry point which takes an application and an
-- initial state and returns the final state returned by a 'halt'
-- operation.
-- initial state and returns the final state from 'EventM' once the
-- program exits.
defaultMain :: (Ord n)
=> App s e n
-- ^ The application.