From d93cdfca4514664fe04242fcdc3e1ee34742e6c2 Mon Sep 17 00:00:00 2001 From: Jonathan Daugherty Date: Thu, 9 Nov 2023 16:37:04 -0800 Subject: [PATCH] defaultMain: update documentation --- src/Brick/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Brick/Main.hs b/src/Brick/Main.hs index 043dc64..a68d726 100644 --- a/src/Brick/Main.hs +++ b/src/Brick/Main.hs @@ -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.