calamity-0.1.14.4: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Internal.IntColour

Description

An orphan instnace to parse Colour Double as a word64

Documentation

Orphan instances

FromJSON (Colour Double) Source # 
Instance details

Methods

parseJSON :: Value -> Parser (Colour Double)

parseJSONList :: Value -> Parser [Colour Double]

ToJSON (Colour Double) Source # 
Instance details

Methods

toJSON :: Colour Double -> Value

toEncoding :: Colour Double -> Encoding

toJSONList :: [Colour Double] -> Value

toEncodingList :: [Colour Double] -> Encoding