From 859f13eec1dcfbf5fbd52a5ad8beb4a5268e95a3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 3 Jul 2021 13:44:17 +0800 Subject: [PATCH] TestUtils: silence <$> import warning for base >= 4.8 --- tests/System/Console/Hawk/TestUtils.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/System/Console/Hawk/TestUtils.hs b/tests/System/Console/Hawk/TestUtils.hs index bb114a1e..552fed94 100644 --- a/tests/System/Console/Hawk/TestUtils.hs +++ b/tests/System/Console/Hawk/TestUtils.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE CPP #-} + -- Copyright 2013 Mario Pastorelli (pastorelli.mario@gmail.com) Samuel GĂ©lineau (gelisam@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,8 +16,10 @@ module System.Console.Hawk.TestUtils where +#if !MIN_VERSION_base(4,8,0) import Control.Applicative ( (<$>) ) +#endif import Control.Exception ( bracket_ ) import Data.List