packages feed

fourmolu-0.2.0.0: data/examples/declaration/instance/type-family-instances-four-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
        )