From 5824410f0d50d41d55fecfa339780389adda185a Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 5 May 2019 16:16:47 +0200 Subject: Fix QueryEnv not being compatible with Ex --- src/CabalHelper/Compiletime/Types.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/CabalHelper') diff --git a/src/CabalHelper/Compiletime/Types.hs b/src/CabalHelper/Compiletime/Types.hs index cffa663..653497d 100644 --- a/src/CabalHelper/Compiletime/Types.hs +++ b/src/CabalHelper/Compiletime/Types.hs @@ -153,8 +153,7 @@ data Ex a = forall x. Ex (a x) -- -- If you do not wish to use the built-in caching feel free to discard the -- 'QueryEnv' value though. -type QueryEnv (pt :: ProjType) - = QueryEnvI QueryCache pt +type QueryEnv = QueryEnvI QueryCache data QueryEnvI c (pt :: ProjType) = QueryEnv { qeReadProcess :: !ReadProcessWithCwd -- cgit v1.2.3