From c5d45f59a9c0609fe61053279fb9bd7623c2466f Mon Sep 17 00:00:00 2001 From: Nikolai Kudasov Date: Thu, 11 Jan 2024 23:28:01 +0300 Subject: [PATCH] Fix imports/exports for the build --- eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs | 2 +- eo-phi-normalizer/src/Language/EO/Phi/Syntax.hs | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs b/eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs index 5f76d51ce..d4c0a88fc 100644 --- a/eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs +++ b/eo-phi-normalizer/src/Language/EO/Phi/Rules/Common.hs @@ -5,10 +5,10 @@ module Language.EO.Phi.Rules.Common where import Language.EO.Phi.Syntax.Abs import Control.Applicative (asum, Alternative ((<|>))) import Control.Monad (guard) -import Language.EO.Phi.Syntax -- $setup -- >>> :set -XOverloadedStrings +-- >>> import Language.EO.Phi.Syntax data Context = Context { allRules :: [Rule] diff --git a/eo-phi-normalizer/src/Language/EO/Phi/Syntax.hs b/eo-phi-normalizer/src/Language/EO/Phi/Syntax.hs index 1e149913e..5bbec4962 100644 --- a/eo-phi-normalizer/src/Language/EO/Phi/Syntax.hs +++ b/eo-phi-normalizer/src/Language/EO/Phi/Syntax.hs @@ -1,8 +1,14 @@ {-# OPTIONS_GHC -Wno-orphans #-} {-# LANGUAGE LambdaCase #-} -module Language.EO.Phi.Syntax where +module Language.EO.Phi.Syntax ( + module Language.EO.Phi.Syntax.Abs, + parseObject, + unsafeParseObject, + printTree, +) where import Data.Char (isSpace) +import Language.EO.Phi.Syntax.Abs import qualified Language.EO.Phi.Syntax.Abs as Phi import qualified Language.EO.Phi.Syntax.Par as Phi import qualified Language.EO.Phi.Syntax.Print as Phi