mirror of
https://github.com/google/ormolu.git
synced 2024-12-13 03:34:12 +03:00
20 lines
330 B
Haskell
20 lines
330 B
Haskell
{-# LANGUAGE TypeFamilies #-}
|
|
|
|
instance Foo Int where data Bar Int = IntBar Int Int
|
|
|
|
instance Foo Double where
|
|
newtype
|
|
Bar
|
|
Double
|
|
=
|
|
DoubleBar
|
|
Double
|
|
Double
|
|
|
|
instance Foo [a]
|
|
where
|
|
data Bar [a] =
|
|
ListBar [Bar a]
|
|
data Baz [a] =
|
|
ListBaz
|