packages feed

fourmolu-0.0.6.0: data/examples/declaration/instance/type-family-instances-out.hs

{-# LANGUAGE TypeFamilies #-}

type instance Foo Int = Int

type instance
  Foo
    [Int] =
    ( Int,
      Int
    )

type instance Bar Int [Int] Double = (Int, Double)

type instance
  Bar
    [Int]
    [Int]
    Double =
    ( Int,
      Double
    )