fradrive/src/Numeric/Natural/Instances.hs
2019-01-31 11:54:28 +01:00

14 lines
235 B
Haskell

{-# OPTIONS_GHC -fno-warn-orphans #-}
module Numeric.Natural.Instances
(
) where
import ClassyPrelude
import Numeric.Natural
import Web.PathPieces
instance PathPiece Natural where
toPathPiece = tshow
fromPathPiece = readMay