packages feed

tilia-0.2.0.0: corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock.hs

{-# LANGUAGE CPP #-}

module Kiln.Firing where

-- The fields before a field only some configurations have come out once,
-- in front of the conditional, where that field has a Haddock, written
-- after it or before it.
data Firing = Firing
  { cone :: Int
#if defined(GAS)
  , reduction :: Bool -- ^ Whether the flame is starved of air.
#endif
  }

data Schedule = Schedule
  { ramp :: Int
#if defined(GAS)
  , -- | Minutes the kiln holds at the top.
    soak :: Int
#endif
  }

data Log = Log
  { entries :: [String]
#if defined(GAS)
  -- read off the gauge
  , pressure :: Int -- ^ In millibar.
#endif
  }