packages feed

ormolu-0.8.1.0: data/examples/declaration/data/record-out.hs

module Main where

-- | Something.
data Foo = Foo
  { -- | X
    fooX :: Int,
    -- | Y
    fooY :: Int,
    -- | BarBaz
    fooBar, fooBaz :: NonEmpty (Identity Bool),
    -- | GagGog
    fooGag,
    fooGog ::
      NonEmpty
        ( Identity
            Bool
        ),
    -- | Huh!
    fooFoo,
    barBar ::
      Int
  }
  deriving (Eq, Show)