calamity-0.3.0.0: A library for writing discord bots in haskell
Safe HaskellNone
LanguageHaskell2010

Calamity.Internal.OverriddenVia

Description

Internal newtype that we can safely define orphans on

Synopsis

Documentation

newtype OverriddenVia a b Source #

a: The type that is to be wrapped b: The type to convert to and use the instance of

Constructors

OverriddenVia 

Fields

Instances

Instances details
(ShapeCoerce a b, Show b) => Show (OverriddenVia a b) Source # 
Instance details

Defined in Calamity.Internal.OverriddenVia

(ShapeCoerce a b, ToJSON b) => ToJSON (OverriddenVia a b) Source # 
Instance details

Defined in Calamity.Internal.OverriddenVia

(ShapeCoerce b a, FromJSON b) => FromJSON (OverriddenVia a b) Source # 
Instance details

Defined in Calamity.Internal.OverriddenVia

(ShapeCoerce b a, Default b) => Default (OverriddenVia a b) Source # 
Instance details

Defined in Calamity.Internal.OverriddenVia

Methods

def :: OverriddenVia a b #

(ShapeCoerce a b, TextShow b) => TextShow (OverriddenVia a b) Source # 
Instance details

Defined in Calamity.Internal.OverriddenVia