1
1
mirror of https://github.com/google/ormolu.git synced 2024-08-15 19:10:29 +03:00
ormolu/region-tests/expected-result-9-12.hs
Mark Karpov 35f4fb3932 Deal with non-zero indentation in region formatting
Improved region formatting so that indented fragments can also be processed
correctly.
2020-06-16 14:20:52 +02:00

18 lines
201 B
Haskell

{-# LANGUAGE LambdaCase #-}
module Foo (
foo, bar, baz) where
foo :: Int
foo = 5
bar :: Int -> Int
bar = \case
0 -> foo
x -> x - foo
baz :: Int -> Int
baz = gege
where
gege = 1 + 2