1
1
mirror of https://github.com/tweag/ormolu.git synced 2024-11-20 19:49:14 +03:00
ormolu/region-tests/expected-result-8-9.hs

23 lines
287 B
Haskell

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