ghc-lib-parser-ex-0.20200501: src/Language/Haskell/GhclibParserEx/Outputable.hs
-- Copyright (c) 2020, Shayne Fletcher. All rights reserved.
-- SPDX-License-Identifier: BSD-3-Clause.
{-# LANGUAGE CPP #-}
#include "ghclib_api.h"
module Language.Haskell.GhclibParserEx.Outputable (unsafePrettyPrint) where
#if defined (GHCLIB_API_811)
import GHC.Utils.Outputable
#else
import Outputable
#endif
unsafePrettyPrint :: Outputable a => a -> String
unsafePrettyPrint = showSDocUnsafe . ppr