diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-09-27 22:59:18 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-09-27 22:59:18 +0200 |
commit | 8865c86aa904243ae91a598327e9dc1768ae8f3a (patch) | |
tree | 4f9aa0bf0a95281feaf08adf12f6054f9f0193dc /src/Test.hs | |
parent | 4b35f08baa69eefd667d220020f469e591c5b0cf (diff) |
Separate Network module
Diffstat (limited to 'src/Test.hs')
-rw-r--r-- | src/Test.hs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/Test.hs b/src/Test.hs index 8db7552..41649ef 100644 --- a/src/Test.hs +++ b/src/Test.hs @@ -3,9 +3,6 @@ module Test ( TestStep(..), SourceLine(..), - ProcName(..), textProcName, unpackProcName, - NodeName(..), textNodeName, unpackNodeName, - MonadEval(..), VarName(..), textVarName, unpackVarName, ExprType(..), @@ -25,6 +22,7 @@ import Data.Typeable import Text.Regex.TDFA import Text.Regex.TDFA.Text +import Network import Process import Util @@ -42,15 +40,6 @@ data TestStep = forall a. ExprType a => Let SourceLine VarName (Expr a) [TestSte newtype SourceLine = SourceLine Text -newtype NodeName = NodeName Text - deriving (Eq, Ord) - -textNodeName :: NodeName -> Text -textNodeName (NodeName name) = name - -unpackNodeName :: NodeName -> String -unpackNodeName (NodeName tname) = T.unpack tname - class MonadFail m => MonadEval m where lookupVar :: VarName -> m SomeVarValue |