From f4bca413775984e17f0e8c73173f491ba2c0f2cd Mon Sep 17 00:00:00 2001 From: "Niels G. W. Serup" Date: Tue, 24 Sep 2024 21:21:49 +0200 Subject: [PATCH] Move Dependency to Types.Dependency --- byg/byg.cabal | 2 +- byg/src/DependencyGenerator.hs | 2 +- byg/src/Types.hs | 2 +- byg/src/{ => Types}/Dependency.hs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename byg/src/{ => Types}/Dependency.hs (97%) 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(..)