From 8b12f38d6b1be7e4fac9961d75c31e6b69a2d364 Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Tue, 2 Oct 2018 16:03:48 +0200 Subject: [PATCH] Expose things properly (missing re-exports) --- src/UI/Butcher/Monadic.hs | 13 +++++++++---- src/UI/Butcher/Monadic/Types.hs | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/UI/Butcher/Monadic.hs b/src/UI/Butcher/Monadic.hs index b254b00..2d1a756 100644 --- a/src/UI/Butcher/Monadic.hs +++ b/src/UI/Butcher/Monadic.hs @@ -1,5 +1,4 @@ --- | Main module of the butcher interface. It reexports everything that is --- exposed in the submodules. +-- | Reexports of everything that is exposed in the submodules. module UI.Butcher.Monadic ( -- * Types Input (..) @@ -18,9 +17,11 @@ module UI.Butcher.Monadic , -- * Building CmdParsers module UI.Butcher.Monadic.Command -- * PrettyPrinting CommandDescs (usage/help) - , module UI.Butcher.Monadic.Pretty + , module UI.Butcher.Monadic.Pretty -- * Wrapper around System.Environment.getArgs - , module UI.Butcher.Monadic.IO + , module UI.Butcher.Monadic.IO + -- * Utilities for interactive feedback of commandlines (completions etc.) + , module UI.Butcher.Monadic.Interactive -- , cmds -- , sample -- , test @@ -33,7 +34,10 @@ module UI.Butcher.Monadic , addButcherDebugCommand , addShellCompletionCommand , addShellCompletionCommand' + -- * Advanced usage , mapOut + , emptyCommandDesc + , Visibility (..) ) where @@ -48,6 +52,7 @@ import UI.Butcher.Monadic.BuiltinCommands import UI.Butcher.Monadic.Internal.Core import UI.Butcher.Monadic.Pretty import UI.Butcher.Monadic.IO +import UI.Butcher.Monadic.Interactive import qualified Text.PrettyPrint as PP diff --git a/src/UI/Butcher/Monadic/Types.hs b/src/UI/Butcher/Monadic/Types.hs index 136c69a..1d9cde4 100644 --- a/src/UI/Butcher/Monadic/Types.hs +++ b/src/UI/Butcher/Monadic/Types.hs @@ -9,6 +9,7 @@ module UI.Butcher.Monadic.Types , ParsingError (..) , PartDesc(..) , emptyCommandDesc + , Visibility (..) ) where