packages feed

tilia-0.2.0.0: corpora/vendored/haddock/placement/haddocks-on-positional-fields.hs

module Shop.Order where

data Order
  = Phone
      String -- ^ The caller's number.
      Int -- ^ How many items.
  | Counter
      !Int -- ^ The till.
      Bool
  | -- | Bought online.
    Online String -- ^ The account the order is billed to.

data Line = Line {- | The quantity. -} Int Double