FromJSON GYRational #  >>> Aeson.decode @GYRational "\"0.123\""
Just (GYRational (123 % 1000))
>>> Aeson.eitherDecode @GYRational "\"Haskell\""
Left "Error in $: could not parse: `Haskell' (input does not start with a digit)"

Instance detailsDefined in GeniusYield.Types.Rational 
ToJSON GYRational #  >>> LBS8.putStrLn $ Aeson.encode (fromRational @GYRational 0.123)
"0.123"

Instance detailsDefined in GeniusYield.Types.Rational 
Generic GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Num GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Read GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Fractional GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Real GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
RealFrac GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Show GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
PrintfArg GYRational #  >>> printf "%6.4f\n" $ fromRational @GYRational 0.123
0.1230

Instance detailsDefined in GeniusYield.Types.Rational 
Eq GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
Ord GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
FromHttpApiData GYRational #  >>> Web.parseUrlPiece @GYRational "0.123"
Right (GYRational (123 % 1000))

Instance detailsDefined in GeniusYield.Types.Rational 
ToParamSchema GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
ToSchema GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 
type Rep GYRational #  
Instance detailsDefined in GeniusYield.Types.Rational 