1
1
mirror of https://github.com/google/ormolu.git synced 2024-08-15 19:10:29 +03:00
ormolu/region-tests/expected-result-all.hs
2021-02-16 20:24:22 -08:00

22 lines
206 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