proof-assistant-bot-0.2.2: src/Agda/Interaction/Command/ShowScope.hs
module Agda.Interaction.Command.ShowScope where import Agda.Syntax.Common.Pretty (prettyShow) import Agda.TypeChecking.Monad.Base (TCM) import Agda.TypeChecking.Monad.State (getScope) import Data.ByteString (ByteString) import Proof.Assistant.Helpers (toBS) showScope :: TCM ByteString showScope = do scope <- getScope pure . toBS $ prettyShow scope