packages feed

fourmolu-0.0.6.0: data/examples/declaration/instance/associated-types.hs

{-# LANGUAGE TypeFamilies #-}

instance Foo Int where type Bar Int = Double

instance Foo Double
  where
    type
      Bar
        Double
        =
          [Double]


    type instance Baz  Double
      = [Double]