packages feed

tilia-0.2.0.0: corpora/vendored/cpp/haddock/comment-under-a-moved-haddock.hs

{-# LANGUAGE CPP #-}
module Track.Gauge where

data Gauge
  = -- | How wide the rails are.
    Int -- millimetres
    -- measured between the rails
    :<> Int -- ^ How heavy the rails are.

data Track
  = Track
#if defined(METRIC)
      -- in metres
      Double -- ^ How long the track is.
#else
      -- in feet
      Int -- ^ How long the track is.
#endif
      Bool