Skip to content

Commit

Permalink
TestUtils: silence <$> import warning for base >= 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
juhp committed Jul 3, 2021
1 parent 9a6defa commit 859f13e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/System/Console/Hawk/TestUtils.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{-# LANGUAGE CPP #-}

-- Copyright 2013 Mario Pastorelli ([email protected]) Samuel Gélineau ([email protected])
--
-- Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -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
Expand Down

0 comments on commit 859f13e

Please sign in to comment.