packages feed

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

module Track.Step
  ( Step (..)
  , Stride (..)
  , left -- ^ A step to the left.
  , -- Steps are counted from the start.
    right
  ) where

data Step
  = -- | How far to the left.
    Int -- metres
    -- measured along the track
    :<= Int -- ^ How far to the right.

data Stride
  = -- | A stride to the left.
    Int -- ^ how far
    -- counted in paces
    :<< Int
  | Stride
      -- taken at a walk
      Int -- ^ How many paces.
      Bool

left :: Step
left = 1 :<= 0

right :: Step
right = 0 :<= 1