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

module Data.Scientific.Instances
  (
  ) where

import ClassyPrelude
import Data.Scientific

import Web.PathPieces


instance PathPiece Scientific where
  toPathPiece = pack . formatScientific Fixed Nothing
  fromPathPiece = readFromPathPiece
