packages feed

tilia-0.2.0.0: corpora/vendored/cpp/comment/comment-above-a-comma-before-a-haddock-out'.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
    , flow :: Int
      -- ^ How much gas goes through.
#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
    }