packages feed

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

{-# LANGUAGE CPP #-}

module Track.Gauge where

data Gauge
    = Int -- millimetres
      -- ^ How wide the rails are.

        -- measured between the rails
        :<>
        -- | How heavy the rails are.
        Int

data Track
    = Track
#if defined(METRIC)
        -- | How long the track is.

        -- in metres
        Double
#else
        -- | How long the track is.

        -- in feet
        Int
#endif
        Bool