diff --git a/byg/byg.cabal b/byg/byg.cabal index 16b750d..52e19d3 100644 --- a/byg/byg.cabal +++ b/byg/byg.cabal @@ -22,8 +22,8 @@ library Types.Value Types.Function Types.FunctionIO + Types.Dependency Types - Dependency DependencyGenerator Evaluation.Function Evaluation.FunctionIO diff --git a/byg/src/DependencyGenerator.hs b/byg/src/DependencyGenerator.hs index a65bf2e..6fa1daa 100644 --- a/byg/src/DependencyGenerator.hs +++ b/byg/src/DependencyGenerator.hs @@ -22,7 +22,7 @@ import Types.Values import Types.Value (Valuable(..)) import Types.Function (Function(..)) import Types.FunctionIO (FunctionIO(..)) -import Dependency (Action(..), Dependency, makeDependency) +import Types.Dependency (Action(..), Dependency, makeDependency) import Control.Monad.State (MonadState, State, runState, put, get) import Control.Monad.Writer (MonadWriter, WriterT, execWriterT, tell) diff --git a/byg/src/Types.hs b/byg/src/Types.hs index 62da03e..645c6d8 100644 --- a/byg/src/Types.hs +++ b/byg/src/Types.hs @@ -12,4 +12,4 @@ import Types.Values import Types.Value import Types.Function import Types.FunctionIO -import Dependency +import Types.Dependency (Dependency) diff --git a/byg/src/Dependency.hs b/byg/src/Types/Dependency.hs similarity index 97% rename from byg/src/Dependency.hs rename to byg/src/Types/Dependency.hs index 2543067..295a508 100644 --- a/byg/src/Dependency.hs +++ b/byg/src/Types/Dependency.hs @@ -1,4 +1,4 @@ -module Dependency +module Types.Dependency ( Action(..) , UToken(..) , Dependency(..)