packages feed

fourmolu-0.0.6.0: data/examples/declaration/class/associated-types2.hs

module Main where

{-# LANGUAGE TypeFamilies #-}

-- | Something more.
class Baz a where
    -- | Baz bar
    type BazBar
        a      -- Foo
        b      -- Bar
        c

    -- | Baz baz
    type -- After type
         BazBaz
        b
        a
        c