packages feed

fourmolu-0.0.6.0: data/examples/declaration/value/function/pattern/record-patterns.hs

foo :: Boom -> Int
foo Boom {..} = 10

bar0 :: Boom -> Int
bar0 Boom {boom} = boom

bar1 :: Boom -> Int
bar1 Boom { boom = b } = b

baz :: Boom -> Int
baz Boom { boom = b, .. } = b

quux :: Boom -> Int
quux Boom
  { boom = a
  , foom = b
  , ..
  } = a + b