From 2696732925ff361357472bec0cde5a006f9f5dc7 Mon Sep 17 00:00:00 2001 From: Alexey Kuleshevich Date: Fri, 27 Dec 2024 13:13:52 -0700 Subject: [PATCH] Drop unnecessary `CPP` conditional --- System/Random/MWC/Distributions.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/System/Random/MWC/Distributions.hs b/System/Random/MWC/Distributions.hs index 7d84036..9283071 100644 --- a/System/Random/MWC/Distributions.hs +++ b/System/Random/MWC/Distributions.hs @@ -1,5 +1,5 @@ {-# LANGUAGE MultiWayIf #-} -{-# LANGUAGE BangPatterns, CPP, GADTs, FlexibleContexts, ScopedTypeVariables #-} +{-# LANGUAGE BangPatterns, GADTs, FlexibleContexts, ScopedTypeVariables #-} -- | -- Module : System.Random.MWC.Distributions -- Copyright : (c) 2012 Bryan O'Sullivan @@ -43,9 +43,6 @@ import Prelude hiding (mapM) import Control.Monad.Primitive (PrimMonad, PrimState) import Data.Bits ((.&.)) import Data.Foldable (foldl') -#if !MIN_VERSION_base(4,8,0) -import Data.Traversable (Traversable) -#endif import Data.Traversable (mapM) import Data.Word (Word32) import System.Random.Stateful (StatefulGen(..),Uniform(..),UniformRange(..),uniformDoublePositive01M)