From 5e7f90c6d508406d6f4f2b0a2459e08f648b5fc1 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 12 Feb 2020 11:34:25 +0000 Subject: [PATCH] [server] Rename tree module files --- server/Main.hs | 10 +++++----- src/Forest/TreeModule/{AnimateModule.hs => Animate.hs} | 2 +- src/Forest/TreeModule/{ConstModule.hs => Const.hs} | 2 +- src/Forest/TreeModule/{ForkModule.hs => Fork.hs} | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) rename src/Forest/TreeModule/{AnimateModule.hs => Animate.hs} (94%) rename src/Forest/TreeModule/{ConstModule.hs => Const.hs} (99%) rename src/Forest/TreeModule/{ForkModule.hs => Fork.hs} (98%) diff --git a/server/Main.hs b/server/Main.hs index 78b046b..a5e6141 100644 --- a/server/Main.hs +++ b/server/Main.hs @@ -2,13 +2,13 @@ module Main where -import qualified Network.WebSockets as WS +import qualified Network.WebSockets as WS -import Forest.Server import Forest.Node -import Forest.TreeModule.ConstModule -import Forest.TreeModule.AnimateModule -import Forest.TreeModule.ForkModule +import Forest.Server +import Forest.TreeModule.Animate +import Forest.TreeModule.Const +import Forest.TreeModule.Fork pingDelay :: Int pingDelay = 10 diff --git a/src/Forest/TreeModule/AnimateModule.hs b/src/Forest/TreeModule/Animate.hs similarity index 94% rename from src/Forest/TreeModule/AnimateModule.hs rename to src/Forest/TreeModule/Animate.hs index a9ef1da..79bd5ab 100644 --- a/src/Forest/TreeModule/AnimateModule.hs +++ b/src/Forest/TreeModule/Animate.hs @@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} -module Forest.TreeModule.AnimateModule +module Forest.TreeModule.Animate ( AnimateModule , animateModule ) where diff --git a/src/Forest/TreeModule/ConstModule.hs b/src/Forest/TreeModule/Const.hs similarity index 99% rename from src/Forest/TreeModule/ConstModule.hs rename to src/Forest/TreeModule/Const.hs index 49c50f7..4c3b2fd 100644 --- a/src/Forest/TreeModule/ConstModule.hs +++ b/src/Forest/TreeModule/Const.hs @@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} -module Forest.TreeModule.ConstModule +module Forest.TreeModule.Const ( ConstModule , constModule , projectDescriptionNode diff --git a/src/Forest/TreeModule/ForkModule.hs b/src/Forest/TreeModule/Fork.hs similarity index 98% rename from src/Forest/TreeModule/ForkModule.hs rename to src/Forest/TreeModule/Fork.hs index e3f79b9..4229ec4 100644 --- a/src/Forest/TreeModule/ForkModule.hs +++ b/src/Forest/TreeModule/Fork.hs @@ -2,7 +2,7 @@ {-# LANGUAGE KindSignatures #-} {-# LANGUAGE RankNTypes #-} -module Forest.TreeModule.ForkModule +module Forest.TreeModule.Fork ( ForkModule , ProngConstructor(..) , forkModule