mirror of
https://github.com/google/ormolu.git
synced 2024-12-11 08:44:45 +03:00
45 lines
451 B
Haskell
45 lines
451 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
|
|
Foo
|
|
Int
|
|
instance
|
|
Triple
|
|
A
|
|
B
|
|
C
|