packages feed

tilia-0.2.0.0: corpora/vendored/cpp/haddock/optional-last-field-with-a-haddock-out.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)
    , -- | Whether the flame is starved of air.
      reduction :: Bool
#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
    , -- | In millibar.
      pressure :: Int
#endif
  }