packages feed

tilia-0.2.0.0: corpora/vendored/cpp/directive/empty-lines-between-conditionals-of-imports-and-pragmas-out'.hs

{-# LANGUAGE CPP #-}
#ifdef WITH_GENERICS
{-# LANGUAGE DeriveGeneric #-}
#endif

#ifdef WITH_FUNCTOR
{-# LANGUAGE DeriveFunctor #-}
#endif
#ifdef WITH_TRAVERSABLE
{-# LANGUAGE DeriveTraversable #-}
#endif

-- Conditionals one right after the other are spaced as they were written,
-- among imports and pragmas, which are regrouped, as anywhere else.
module Bakery.Oven (Oven (..)) where

#ifdef WITH_GENERICS
import GHC.Generics (Generic)
#endif

#ifdef WITH_TIMER
import Data.Time (UTCTime)
#endif
#ifdef WITH_LOG
import Data.Text (Text)
#endif
import Data.Word (Word8)

data Oven = Oven
    { temperature :: Word8
    }