From bd5b74722cead83f934bf1c9cab53cccf428d0ca Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 4 Nov 2024 23:58:15 +0100 Subject: [PATCH] a little optimization --- src-lib/Library/Types/Map.hs | 1 + src-lib/Library/Types/Player.hs | 1 + src-server/Server/Types.hs | 1 + 3 files changed, 3 insertions(+) diff --git a/src-lib/Library/Types/Map.hs b/src-lib/Library/Types/Map.hs index d540521..cdb59ef 100644 --- a/src-lib/Library/Types/Map.hs +++ b/src-lib/Library/Types/Map.hs @@ -1,4 +1,5 @@ {-# LANGUAGE DeriveGeneric #-} +{-# LANGUAGE StrictData #-} module Library.Types.Map where import Data.Matrix diff --git a/src-lib/Library/Types/Player.hs b/src-lib/Library/Types/Player.hs index f216335..7419b45 100644 --- a/src-lib/Library/Types/Player.hs +++ b/src-lib/Library/Types/Player.hs @@ -1,4 +1,5 @@ {-# LANGUAGE DeriveGeneric #-} +{-# LANGUAGE StrictData #-} module Library.Types.Player where import Data.Aeson diff --git a/src-server/Server/Types.hs b/src-server/Server/Types.hs index dc2406e..7fabf09 100644 --- a/src-server/Server/Types.hs +++ b/src-server/Server/Types.hs @@ -1,4 +1,5 @@ {-# LANGUAGE DeriveGeneric #-} +{-# LANGUAGE StrictData #-} module Server.Types where import Control.Concurrent