mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-10-27 11:41:17 +03:00
18 lines
361 B
Haskell
18 lines
361 B
Haskell
deriving instance Eq Foo
|
|
|
|
deriving stock instance Show Foo
|
|
|
|
deriving anyclass instance ToJSON Foo
|
|
|
|
deriving newtype instance Data Foo
|
|
|
|
deriving instance {-# OVERLAPPABLE #-} Ord Foo
|
|
|
|
deriving instance {-# OVERLAPPING #-} Num Foo
|
|
|
|
deriving instance {-# OVERLAPS #-} Read Foo
|
|
|
|
deriving instance {-# INCOHERENT #-} Show Foo
|
|
|
|
deriving via Int instance Triple A B C
|