sorted out module organisation
This commit is contained in:
parent
b41c3926df
commit
d31a01ab9c
@ -81,12 +81,12 @@ test-suite haskell-exps-test
|
||||
other-modules: Test.OlogsSpec,
|
||||
Test.SimpleParserSpec,
|
||||
Test.ArithmeticParserSpec,
|
||||
Test.DatalogParserSpec
|
||||
Test.Datalog.DatalogParserSpec
|
||||
|
||||
library langfeatures
|
||||
build-depends: base, containers, megaparsec, parser-combinators, text
|
||||
hs-source-dirs: src
|
||||
exposed-modules: Ologs, SimpleParser, ArithmeticParser, DatalogParser
|
||||
exposed-modules: Ologs, SimpleParser, ArithmeticParser, Datalog.DatalogParser
|
||||
ghc-options: -Wall
|
||||
|
||||
executable haskell-experiments
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE TypeApplications #-}
|
||||
|
||||
module DatalogParser where
|
||||
module Datalog.DatalogParser where
|
||||
|
||||
import Data.Void
|
||||
import Data.Text (Text)
|
||||
@ -4,7 +4,7 @@ import Test.Hspec
|
||||
import qualified Test.OlogsSpec as Ologs
|
||||
import qualified Test.SimpleParserSpec as SimpleParserSpec
|
||||
import qualified Test.ArithmeticParserSpec as ArithmeticParserSpec
|
||||
import qualified Test.DatalogParserSpec as DatalogParserSpec
|
||||
import qualified Test.Datalog.DatalogParserSpec as DatalogParserSpec
|
||||
|
||||
main :: IO ()
|
||||
main = hspec $ do
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-}
|
||||
{-# LANGUAGE TypeApplications #-}
|
||||
|
||||
module Test.DatalogParserSpec where
|
||||
module Test.Datalog.DatalogParserSpec where
|
||||
|
||||
import Test.Hspec
|
||||
import DatalogParser
|
||||
import Datalog.DatalogParser
|
||||
|
||||
-- checkParse :: String -> Expr -> Expectation
|
||||
-- checkParse text expectedExpr =
|
||||
Loading…
x
Reference in New Issue
Block a user