{-# OPTIONS_GHC -fno-warn-orphans #-}

module System.Clock.Instances
  (
  ) where

import ClassyPrelude
import System.Clock
import Data.Ratio ((%))


instance Real TimeSpec where
  toRational TimeSpec{..} = fromIntegral sec + fromIntegral nsec % 1e9
