packages feed

tilia-0.2.0.0: corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock.hs

{-# LANGUAGE CPP #-}

module Kiln.Burner where

-- A comment above the comma that leads a field only some configurations
-- have stays above it where the field's Haddock follows the comma.
data Burner = Burner
  { nozzle :: Int,
    pressure :: Int
#if defined(GAS)
    -- litres per hour at full flame
    , -- | How much gas goes through.
      flow :: Int
#endif
  }

-- And where the Haddock is written after the field.
data Nozzle = Nozzle
  { bore :: Int
  , tip :: Int
#if defined(GAS)
  -- drilled for propane
  , orifice :: Int -- ^ The width of the hole.
#endif
  }