packages feed

tilia-0.2.0.0: corpora/vendored/cpp/expression/looser-operator-behind-nested-conditionals-out.hs

{-# LANGUAGE CPP #-}

module Network.Retry where

shouldRetry :: Bool
shouldRetry =
  timedOut
#ifdef WITH_TLS
#ifdef WITH_RENEGOTIATION
    || renegotiating
      && attemptsLeft
#else
    && attemptsLeft
#endif
#else
    && attemptsLeft
#endif