1
1
mirror of https://github.com/google/ormolu.git synced 2024-09-11 08:05:24 +03:00
ormolu/region-tests/src.hs

18 lines
219 B
Haskell
Raw Permalink Normal View History

2020-04-23 19:41:32 +03:00
{-# LANGUAGE LambdaCase #-}
2020-04-24 20:43:45 +03:00
module Foo (
foo, bar, baz) where
2020-04-23 19:41:32 +03:00
foo :: Int
foo = 5
bar :: Int -> Int
bar = \case
0 -> foo
x -> x - foo
baz :: Int -> Int
baz = gege
where
gege = 1 + 2